|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IIgelGame.GameEventListener
Listens for game events
Method Summary | |
---|---|
void |
announceWin(int player)
Reports that the game has been won |
void |
messageChanged(java.lang.String newMessage)
Called when message changes |
void |
noForwardMove(int row)
Report that there are no tokens to move in row |
void |
phaseChanged(Phase newPhase)
Reports a phase change |
void |
roll(int newValue)
Reports a die roll |
Method Detail |
---|
void messageChanged(java.lang.String newMessage)
newMessage
- the new messagevoid roll(int newValue)
newValue
- the new value on the dievoid phaseChanged(Phase newPhase)
newPhase
- the new Phase
void announceWin(int player)
player
- the player that wonvoid noForwardMove(int row)
row
row
- the row specified by the die.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |