cluedo.info
Class SuspicionAnsweredInfo

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

public class SuspicionAnsweredInfo
extends CluedoInfo

SuspicionAnsweredInfos are broadcasted by the server to all team mates. A SuspicionRequestInfo contains the suspicion of a player. The Server broadcasts the request to all team mates. If a team mate can invalidate the suspicion he will send a SuspicionCardInfo. This will be forwarded to the requesting client by the server. All other team mates receive a SuspicionAnsweredInfo. 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

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

Field Detail

answererId

public int answererId
Constructor Detail

SuspicionAnsweredInfo

public SuspicionAnsweredInfo(int answererId)