|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cluedo.info.CluedoInfo | +--cluedo.info.DiceInfo
Instances of DiceInfo are used to indicate the dice of a player. A Player may request a dice by transmitting a DiceRequestInfo to the server. The server answers the request with a Diceinfo.
CluedoPDU
,
DiceRequestInfo
, Serialized FormField Summary | |
int |
dice
the dice (2-12) |
int |
playerId
Id of the player whose dice is transmitted in this object |
Fields inherited from class cluedo.info.CluedoInfo |
ACCEPTED,
CLOSED,
DIRECTOR,
EXPELLED,
INVITED,
LOOSER,
NUMPLAYERS,
OPENED,
REJECTED,
REMOVED,
SERVERID,
TEAMMATE,
TERMINATED,
UNKNOWN,
WINNER |
Constructor Summary | |
DiceInfo(int playerId,
int dice)
|
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 dice
Constructor Detail |
public DiceInfo(int playerId, int dice)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |