|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMoveDelegate
Remote interface for MoveDelegate
| Method Summary | |
|---|---|
java.util.List<UndoableMove> |
getMovesMade()
Get the moves already made |
java.util.Collection<Territory> |
getTerritoriesWhereAirCantLand()
Get what air units must move before the end of the players turn |
java.util.Collection<Territory> |
getTerritoriesWhereUnitsCantFight()
Get what units must have combat ability |
java.lang.String |
loadBombers(java.util.Collection<Unit> units,
Route route,
java.util.Collection<Unit> m_bombersThatCanBeLoaded)
|
java.lang.String |
move(java.util.Collection<Unit> units,
Route route)
equivalent to move(units, route, Collections.EMPTY_LIST) |
java.lang.String |
move(java.util.Collection<Unit> units,
Route route,
java.util.Collection<Unit> m_transportsThatCanBeLoaded)
|
java.lang.String |
undoMove(int moveIndex)
|
| Method Detail |
|---|
java.lang.String move(java.util.Collection<Unit> units,
Route route,
java.util.Collection<Unit> m_transportsThatCanBeLoaded)
units - - the units to moveroute - - the route to move alongm_transportsThatCanBeLoaded - - transports that can be loaded while moving, must be non null
java.lang.String loadBombers(java.util.Collection<Unit> units,
Route route,
java.util.Collection<Unit> m_bombersThatCanBeLoaded)
units - - the units to moveroute - - the route to move alongm_bombersThatCanBeLoaded - - bombers that can be loaded while moving, must be non null
java.lang.String move(java.util.Collection<Unit> units,
Route route)
units - - the units to moveroute - - the route to move along
java.util.List<UndoableMove> getMovesMade()
java.lang.String undoMove(int moveIndex)
moveIndex - - an index in the list getMovesMade
java.util.Collection<Territory> getTerritoriesWhereAirCantLand()
java.util.Collection<Territory> getTerritoriesWhereUnitsCantFight()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||