|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlayerPanel
The player panel that contains a player's board and other user interfaces
Method Summary | |
---|---|
IEvent |
getEndTurnEvent()
The end turn event is emitted when the player wants to end his turn |
IEvent |
getRedealEvent()
The redeal event is emitted when the player wants to get new stones |
IEvent |
getSortByGroupsEvent()
The sort by groups event is emitted when the player wants to sort his stones by groups |
IEvent |
getSortByRunsEvent()
The sort by runs event is emitted when the player wants to sort his stones by runs |
void |
setEndTurnMode(TurnMode turnMode)
Sets the buttons available to end the turn |
void |
setTime(int time,
int totalTime)
Sets the time the player has left for his turn |
Method Detail |
---|
void setTime(int time, int totalTime)
time
- the time lefttotalTime
- total time for a turnIEvent getSortByGroupsEvent()
IEvent getSortByRunsEvent()
IEvent getEndTurnEvent()
IEvent getRedealEvent()
void setEndTurnMode(TurnMode turnMode)
turnMode
- the TurnMode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |