games.simulation.flayer.concretClasses.objectsFamily.airPlane.engine
Class ConcretEngineOne

java.lang.Object
  extended by games.simulation.flayer.concretClasses.objectsFamily.airPlane.engine.ConcretEngineOne
All Implemented Interfaces:
Engine, ObjectsWorld, ObjectsWorldSetable

public class ConcretEngineOne
extends java.lang.Object
implements Engine

Author:
diego

Constructor Summary
ConcretEngineOne()
           
ConcretEngineOne(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)
           
 
Method Summary
 java.lang.Double area()
           
 java.lang.Double gasComsumedByEngine()
           
 java.lang.Double getMaxPotency()
           
 java.lang.Double getObjectHeight()
           
 java.lang.Double getObjectWeight()
           
 java.lang.Double getObjectWidth()
           
 java.lang.Double getPotency()
           
 java.lang.Double getWeightAirplaneRecomended()
           
 java.lang.Double RPM()
           
 void setMaxPotency(java.lang.Double MAX_POTENCY)
          Set MAX POTENCY that this Engine suport.
 void setObjectHeight(java.lang.Double height)
          Set the Object height.
 void setObjectWeight(java.lang.Double weight)
          Set the Object weight.
 void setObjectWidth(java.lang.Double width)
          Set the Object width.
 void setPotency(java.lang.Double potency)
          Set the the current Engine potency.
 void setTankLink(FuelTank fuelTank)
          Set the FuelTank associed with this Engine.
 void setWeightAirplaneRecomended(java.lang.Double weightRecomended)
          Set the total weight recomended for this Engine.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcretEngineOne

public ConcretEngineOne()

ConcretEngineOne

public ConcretEngineOne(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)
Method Detail

RPM

public java.lang.Double RPM()
Specified by:
RPM in interface Engine
Returns:
the Engine RPM.

gasComsumedByEngine

public java.lang.Double gasComsumedByEngine()
Specified by:
gasComsumedByEngine in interface Engine
Returns:
the Gas consumed for this Engine. At the moment.

getMaxPotency

public java.lang.Double getMaxPotency()
Specified by:
getMaxPotency in interface Engine
Returns:
the MAX POTENCY suported for this Engine.

getPotency

public java.lang.Double getPotency()
Specified by:
getPotency in interface Engine
Returns:
the current Engine potency.

getWeightAirplaneRecomended

public java.lang.Double getWeightAirplaneRecomended()
Specified by:
getWeightAirplaneRecomended in interface Engine
Returns:
the total weight recomended for this Engine.

setMaxPotency

public void setMaxPotency(java.lang.Double MAX_POTENCY)
Description copied from interface: Engine
Set MAX POTENCY that this Engine suport.

Specified by:
setMaxPotency in interface Engine

setPotency

public void setPotency(java.lang.Double potency)
Description copied from interface: Engine
Set the the current Engine potency.

Specified by:
setPotency in interface Engine

setTankLink

public void setTankLink(FuelTank fuelTank)
Description copied from interface: Engine
Set the FuelTank associed with this Engine.

Specified by:
setTankLink in interface Engine

setWeightAirplaneRecomended

public void setWeightAirplaneRecomended(java.lang.Double weightRecomended)
Description copied from interface: Engine
Set the total weight recomended for this Engine.

Specified by:
setWeightAirplaneRecomended in interface Engine

area

public java.lang.Double area()
Specified by:
area in interface ObjectsWorld
Returns:
the Object area.

getObjectHeight

public java.lang.Double getObjectHeight()
Specified by:
getObjectHeight in interface ObjectsWorld
Returns:
the Obejct height.

getObjectWeight

public java.lang.Double getObjectWeight()
Specified by:
getObjectWeight in interface ObjectsWorld
Returns:
the Object weight.

getObjectWidth

public java.lang.Double getObjectWidth()
Specified by:
getObjectWidth in interface ObjectsWorld
Returns:
the Object width.

setObjectHeight

public void setObjectHeight(java.lang.Double height)
Description copied from interface: ObjectsWorldSetable
Set the Object height.

Specified by:
setObjectHeight in interface ObjectsWorldSetable

setObjectWeight

public void setObjectWeight(java.lang.Double weight)
Description copied from interface: ObjectsWorldSetable
Set the Object weight.

Specified by:
setObjectWeight in interface ObjectsWorldSetable

setObjectWidth

public void setObjectWidth(java.lang.Double width)
Description copied from interface: ObjectsWorldSetable
Set the Object width.

Specified by:
setObjectWidth in interface ObjectsWorldSetable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007. All Rights Reserved.