|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PentePerceptGameSetup
A percept received at the start of a game, providing information such as the the player's turn number, the size of the board, operating rules, etc.
Method Summary | |
---|---|
DiscreteRectangle |
getBoardRectangle()
Returns a rectangle indicating the size of the board. |
PenteEnvironment.PenteRules |
getRules()
Indicates which rules are in operation for this game. |
int |
getTurnNumber()
Indicates the turn number of the player, which is an integer between 0 and (number of players - 1) |
Method Detail |
---|
int getTurnNumber()
PenteEnvironment.PenteRules getRules()
DiscreteRectangle getBoardRectangle()
The board will always have its lower-left corner at (0,0).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |