games.simulation.flayer.concretClasses.factoryFamily.airPlane
Class FactoryAirplaneOne
java.lang.Object
games.simulation.flayer.concretClasses.factoryFamily.airPlane.FactoryAirplaneOne
- All Implemented Interfaces:
- AbstractFactoryAirPlane
public class FactoryAirplaneOne
- extends java.lang.Object
- implements AbstractFactoryAirPlane
- Author:
- diego
|
Method Summary |
AirPlane |
build(Body body)
|
Body |
makeBodyAirPlane(Cockpit cockpit,
Engine engine,
FuelTank fuelTank,
java.util.Vector wings,
java.lang.Double height,
java.lang.Double width,
java.lang.Double weight)
|
Cockpit |
makeCockpit(java.lang.Double height,
java.lang.Double width,
java.lang.Double weight)
|
Engine |
makeEngine(FuelTank fuelTank,
java.lang.Double height,
java.lang.Double width,
java.lang.Double weight,
java.lang.Double potency,
java.lang.Double MAX_POTENCY,
java.lang.Double weightREcomended)
|
FuelTank |
makeFuelTank(java.lang.Double height,
java.lang.Double width,
java.lang.Double weight,
java.lang.Double MAX_CAPACITY)
|
Wing |
makeWing(java.lang.Double stability,
java.lang.Double height,
java.lang.Double width,
java.lang.Double weight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryAirplaneOne
public FactoryAirplaneOne()
build
public AirPlane build(Body body)
- Specified by:
build in interface AbstractFactoryAirPlane
makeBodyAirPlane
public Body makeBodyAirPlane(Cockpit cockpit,
Engine engine,
FuelTank fuelTank,
java.util.Vector wings,
java.lang.Double height,
java.lang.Double width,
java.lang.Double weight)
- Specified by:
makeBodyAirPlane in interface AbstractFactoryAirPlane
makeCockpit
public Cockpit makeCockpit(java.lang.Double height,
java.lang.Double width,
java.lang.Double weight)
- Specified by:
makeCockpit in interface AbstractFactoryAirPlane
makeEngine
public Engine makeEngine(FuelTank fuelTank,
java.lang.Double height,
java.lang.Double width,
java.lang.Double weight,
java.lang.Double potency,
java.lang.Double MAX_POTENCY,
java.lang.Double weightREcomended)
- Specified by:
makeEngine in interface AbstractFactoryAirPlane
makeFuelTank
public FuelTank makeFuelTank(java.lang.Double height,
java.lang.Double width,
java.lang.Double weight,
java.lang.Double MAX_CAPACITY)
- Specified by:
makeFuelTank in interface AbstractFactoryAirPlane
makeWing
public Wing makeWing(java.lang.Double stability,
java.lang.Double height,
java.lang.Double width,
java.lang.Double weight)
- Specified by:
makeWing in interface AbstractFactoryAirPlane
Copyright © 2007. All Rights Reserved.