net.sf.freecol.common.model
Interface Movable

All Known Implementing Classes:
ServerUnit, Unit

public interface Movable

An object that can move from one Location to another under its own power.


Method Summary
 int getInitialMovesLeft()
          Gets the amount of moves this Movable has at the beginning of each turn.
 int getMovesLeft()
          Returns the amount of moves this Movable has left.
 

Method Detail

getMovesLeft

int getMovesLeft()
Returns the amount of moves this Movable has left.

Returns:
The amount of moves this Movable has left.

getInitialMovesLeft

int getInitialMovesLeft()
Gets the amount of moves this Movable has at the beginning of each turn.

Returns:
The amount of moves this Movable has at the beginning of each turn.