cluedo.info
Class PlayerMoveRequestInfo

java.lang.Object
  |
  +--cluedo.info.CluedoInfo
        |
        +--cluedo.info.PlayerMoveRequestInfo

public class PlayerMoveRequestInfo
extends CluedoInfo

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 a PlayerMovedInfo to all team mates. Otherwise an ErrorInfo will be returned.

See Also:
CluedoPDU, PlayerMovedInfo, Serialized Form

Field Summary
 int x
           
 int y
           
 
Fields inherited from class cluedo.info.CluedoInfo
ACCEPTED, CLOSED, DIRECTOR, EXPELLED, INVITED, LOOSER, NUMPLAYERS, OPENED, REJECTED, REMOVED, SERVERID, TEAMMATE, TERMINATED, UNKNOWN, WINNER
 
Constructor Summary
PlayerMoveRequestInfo(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

PlayerMoveRequestInfo

public PlayerMoveRequestInfo(int x,
                             int y)