|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that players of a game must implement.
A player automatically listens to the board. There's no point otherwise.
Method Summary | |
void |
block()
Called by a game when the player should be blocked. |
void |
disconnect()
Called to notify a disconnection from a game. |
java.lang.String |
getName()
|
boolean |
isBlocked()
A blocked player doesn't have the right to play. |
void |
unblock()
Called by a game when the player should be unblocked. |
Methods inherited from interface org.cb.jset.SetGameBoardListener |
cardsAdded, setRemoved |
Method Detail |
public java.lang.String getName()
public void block()
isBlocked()
public void unblock()
isBlocked()
public boolean isBlocked()
true
is the player is blocked, false
otherwise.public void disconnect()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |