|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcivquest.units.UnitMover
civquest.units.GEMUnitMover
GEMUnitMover.java
| Constructor Summary | |
GEMUnitMover()
|
|
GEMUnitMover(MoveCalculator moveCalculator)
|
|
| Method Summary | |
GameChange[] |
getUnitMoveChanges(java.util.Collection units,
Field to)
Returns all GameChanges necessary for moving the given unit-group to the given field. |
void |
setMoveCalculator(MoveCalculator moveCalculator)
|
| Methods inherited from class civquest.units.UnitMover |
getChangesForMoveAlongPath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GEMUnitMover()
public GEMUnitMover(MoveCalculator moveCalculator)
| Method Detail |
public void setMoveCalculator(MoveCalculator moveCalculator)
public GameChange[] getUnitMoveChanges(java.util.Collection units,
Field to)
UnitMover
getUnitMoveChanges in class UnitMoverunits - a Collection of units, all located on the same Field, expected to be non-emptyto - a neighbor-field of the units current field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||