Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-