civquest.units.unitparts
Class HumanEngine

java.lang.Object
  extended bycivquest.units.UnitPartModel
      extended bycivquest.units.unitpartmodels.HumanEngineModel
          extended bycivquest.units.unitparts.HumanEngine
All Implemented Interfaces:
Engine, UnitPart

public class HumanEngine
extends HumanEngineModel
implements Engine


Constructor Summary
HumanEngine()
           
 
Method Summary
 int getSpeed(Field to)
          Returns the speed a unit with this eninge can travel at from a Field to Field .
 
Methods inherited from class civquest.units.unitpartmodels.HumanEngineModel
constructUnitPart, dump, load
 
Methods inherited from class civquest.units.UnitPartModel
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HumanEngine

public HumanEngine()
Method Detail

getSpeed

public int getSpeed(Field to)
Description copied from interface: Engine
Returns the speed a unit with this eninge can travel at from a Field to Field . The source-field doesn't play any role. For details see file /doc/units/movement.txt.

Specified by:
getSpeed in interface Engine