Package net.sf.freecol.common.model
Interface Movable
-
- All Known Implementing Classes:
ServerUnit,Unit
public interface MovableAn object that can move from one Location to another under its own power.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetInitialMovesLeft()Gets the amount of moves this Movable has at the beginning of each turn.intgetMovesLeft()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.
-
-