|
Algorithm Development Kit 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGameMove
A valid move in the GameTree.
Method Summary | |
---|---|
boolean |
execute(IGameState state)
Execute the move on the game state. |
boolean |
isValid(IGameState state)
Determine if move is valid in the game state. |
boolean |
undo(IGameState state)
Undo the move on the game state. |
Method Detail |
---|
boolean execute(IGameState state)
state
- game tree state to be updated by this moveboolean undo(IGameState state)
state
- game tree state to be undone one moveboolean isValid(IGameState state)
state
- game tree state to be inspected by move
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |