cluedo.info
Class SuspicionInfo
java.lang.Object
|
+--cluedo.info.CluedoInfo
|
+--cluedo.info.WhoWhereHowInfo
|
+--cluedo.info.SuspicionInfo
- public class SuspicionInfo
- extends WhoWhereHowInfo
A SuspicionRequestInfo contains the suspicion of a player. The Server
translates the object into a SuspicionInfo which is broadcasted to all
team mates. Note that the SuspicionInfo also contains the ID of the player that can answer
to the suspicion.
If a team mate can invalidate the suspicion he will send
a SuspicionCardInfo. This will be forwarded to the requesting client
by the server.
A SuspicionCardInfo contains the answer of a player to a Suspicion of
another player. It contains a single card.
- See Also:
CluedoPDU
,
SuspicionCardInfo
,
SuspicionRequestInfo
, Serialized Form
Fields inherited from class cluedo.info.CluedoInfo |
ACCEPTED,
CLOSED,
DIRECTOR,
EXPELLED,
INVITED,
LOOSER,
NUMPLAYERS,
OPENED,
REJECTED,
REMOVED,
SERVERID,
TEAMMATE,
TERMINATED,
UNKNOWN,
WINNER |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
suspectorId
public int suspectorId
answererId
public int answererId
SuspicionInfo
public SuspicionInfo(int suspectorId,
SuspicionRequestInfo s)
SuspicionInfo
public SuspicionInfo(int suspectorId,
int answererId,
CardInfo who,
CardInfo where,
CardInfo how)