|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cluedo.info.CluedoInfo | +--cluedo.info.WinnerInfo
Instances of WinnerInfo are used to inform the team mates of a session about the winner or looser of a game. When a player has brought in an accusation the server will inform the team mates whether it was right (the player won the game) or wrong (the player has lost the game).
CluedoPDU
,
AccusationRequestInfo
,
AccusationInfo
, Serialized FormField Summary | |
int |
playerId
Which player has lost or won? |
int |
sessionId
In which session does he play? |
int |
state
Did he win or loose? This attribute can have either of the two values WINNER or
LOOSER . |
Fields inherited from class cluedo.info.CluedoInfo |
ACCEPTED,
CLOSED,
DIRECTOR,
EXPELLED,
INVITED,
LOOSER,
NUMPLAYERS,
OPENED,
REJECTED,
REMOVED,
SERVERID,
TEAMMATE,
TERMINATED,
UNKNOWN,
WINNER |
Constructor Summary | |
WinnerInfo(int playerId,
int sessionId,
int state)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int playerId
public int sessionId
public int state
WINNER
or
LOOSER
.Constructor Detail |
public WinnerInfo(int playerId, int sessionId, int state)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |