|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cluedo.info.CluedoInfo | +--cluedo.info.PlayerMovedInfo
Sent by a client in order to indicate the next move. The server will check if the move is legal. If the move is legal it will broadcast the object to all team mates. Otherwise an ErrorInfo will be returned.
CluedoPDU
, Serialized FormField Summary | |
int |
playerId
id of the player who makes the move. |
int |
x
new position of the player in the play field |
int |
y
new position of the player 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 | |
PlayerMovedInfo(int playerId,
int x,
int y)
|
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 x
public int y
Constructor Detail |
public PlayerMovedInfo(int playerId, int x, int y)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |