|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cluedo.info.CluedoInfo | +--cluedo.info.PlayerInfo
An object of this class describes a player.
CluedoPDU
,
DrawFinishedInfo
, Serialized FormField Summary | |
int |
currentDice
last dice thrown by this player |
java.lang.String |
name
name of the player. |
int |
numberOfCards
the number of cards this player holds |
int |
playerId
id of the player. |
int |
sessionId
id of the session the player participates |
int |
state
state of the player. |
int |
teamId
indicates the identity of this player in a session. |
int |
x
position in the play field |
int |
y
position in the play field |
Fields inherited from class cluedo.info.CluedoInfo |
ACCEPTED,
CLOSED,
DIRECTOR,
EXPELLED,
INVITED,
LOOSER,
NUMPLAYERS,
OPENED,
REJECTED,
REMOVED,
SERVERID,
TEAMMATE,
TERMINATED,
UNKNOWN,
WINNER |
Constructor Summary | |
PlayerInfo()
|
|
PlayerInfo(int playerId,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int playerId
public java.lang.String name
public int state
public int teamId
teamMates
field of the session this
client is playing in.public int sessionId
public int x
public int y
public int currentDice
public int numberOfCards
Constructor Detail |
public PlayerInfo()
public PlayerInfo(int playerId, java.lang.String name)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |