games.simulation.flayer.interfaces.objectsFamily.airPlane.engine
Interface Engine

All Superinterfaces:
ObjectsWorld, ObjectsWorldSetable
All Known Implementing Classes:
ConcretEngineOne

public interface Engine
extends ObjectsWorldSetable

Author:
Diego

Method Summary
 java.lang.Double gasComsumedByEngine()
           
 java.lang.Double getMaxPotency()
           
 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 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.
 
Methods inherited from interface games.simulation.flayer.interfaces.objectsFamily.objectsWorld.ObjectsWorldSetable
setObjectHeight, setObjectWeight, setObjectWidth
 
Methods inherited from interface games.simulation.flayer.interfaces.objectsFamily.objectsWorld.ObjectsWorld
area, getObjectHeight, getObjectWeight, getObjectWidth
 

Method Detail

setPotency

void setPotency(java.lang.Double potency)
Set the the current Engine potency.

Parameters:
potency -

getPotency

java.lang.Double getPotency()
Returns:
the current Engine potency.

setMaxPotency

void setMaxPotency(java.lang.Double MAX_POTENCY)
Set MAX POTENCY that this Engine suport.

Parameters:
MAX_POTENCY -

getMaxPotency

java.lang.Double getMaxPotency()
Returns:
the MAX POTENCY suported for this Engine.

gasComsumedByEngine

java.lang.Double gasComsumedByEngine()
Returns:
the Gas consumed for this Engine. At the moment.

RPM

java.lang.Double RPM()
Returns:
the Engine RPM.

setWeightAirplaneRecomended

void setWeightAirplaneRecomended(java.lang.Double weightRecomended)
Set the total weight recomended for this Engine.

Parameters:
weightRecomended -

getWeightAirplaneRecomended

java.lang.Double getWeightAirplaneRecomended()
Returns:
the total weight recomended for this Engine.

setTankLink

void setTankLink(FuelTank fuelTank)
Set the FuelTank associed with this Engine.

Parameters:
tank -


Copyright © 2007. All Rights Reserved.