civquest.units
Interface Engine

All Superinterfaces:
UnitPart
All Known Implementing Classes:
HumanEngine

public interface Engine
extends UnitPart

An Engine makes units move. So every unit that can move must have at least one Engine.


Method Summary
 int getSpeed(Field to)
          Returns the speed a unit with this eninge can travel at from a Field to Field .
 

Method Detail

getSpeed

public int getSpeed(Field to)
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.