|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GameState
State in a game problem.
Method Summary | |
---|---|
int |
getNextPlayerTurn()
Returns the index of the next player to get to make a move. |
int |
getNumberOfPlayers()
Returns the number of players for this game instance. |
Method Detail |
---|
int getNextPlayerTurn()
int getNumberOfPlayers()
Presumably, in most games, this number will be the same for all states in a given instance of the game.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |