|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cluedo.info.CluedoInfo
Base class for all information classes. Instances of information classes are used for communication between client and server. This class defines some constants for the game states.
CluedoPDU
, Serialized FormField Summary | |
static int |
ACCEPTED
Indicates that a player has been accepted. |
static int |
CLOSED
State of a closed session. |
static int |
DIRECTOR
Identifies players who are directors. |
static int |
EXPELLED
Indicates that a player has been expelled from a session. |
static int |
INVITED
Indicates that a player is invited for a session. |
static int |
LOOSER
Indicates that a player lost the game. |
static int |
NUMPLAYERS
The maximum number of player in a session. |
static int |
OPENED
State of a newly created session. |
static int |
REJECTED
Indicates that a player has been rejected. |
static int |
REMOVED
Used to indicate removed players, sessions etc. |
static int |
SERVERID
Server always has playerId = 0 |
static int |
TEAMMATE
Identifies players who are NOT directors. |
static int |
TERMINATED
State of a terminated session. |
static int |
UNKNOWN
Used to indicate a currently unknown state of players, sessions etc. |
static int |
WINNER
Indicates that a player won the game. |
Constructor Summary | |
CluedoInfo()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int REMOVED
public static final int UNKNOWN
public static final int SERVERID
public static final int DIRECTOR
public static final int TEAMMATE
public static final int NUMPLAYERS
public static final int OPENED
SessionInfo
public static final int CLOSED
SessionInfo
public static final int TERMINATED
SessionInfo
public static final int ACCEPTED
PlayerNotifyInfo
public static final int REJECTED
PlayerNotifyInfo
public static final int EXPELLED
PlayerNotifyInfo
public static final int INVITED
PlayerNotifyInfo
public static final int WINNER
WinnerInfo
public static final int LOOSER
WinnerInfo
Constructor Detail |
public CluedoInfo()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |