cluedo.info
Class AccusationInfo

java.lang.Object
  |
  +--cluedo.info.CluedoInfo
        |
        +--cluedo.info.WhoWhereHowInfo
              |
              +--cluedo.info.AccusationInfo

public class AccusationInfo
extends WhoWhereHowInfo

Instances of AccusationInfo are used to indicate an accusation. Instances of this class are sent by the server to all players in the session. Furthermore the server sends a WinnerInfo to the team mates.

See Also:
CluedoPDU, AccusationRequestInfo, WinnerInfo, Serialized Form

Field Summary
 int accuserId
          The playerId of the player who indicates the accusation.
 
Fields inherited from class cluedo.info.WhoWhereHowInfo
how, where, who
 
Fields inherited from class cluedo.info.CluedoInfo
ACCEPTED, CLOSED, DIRECTOR, EXPELLED, INVITED, LOOSER, NUMPLAYERS, OPENED, REJECTED, REMOVED, SERVERID, TEAMMATE, TERMINATED, UNKNOWN, WINNER
 
Constructor Summary
AccusationInfo(int accurserId, AccusationRequestInfo ari)
           
AccusationInfo(int accuserId, CardInfo who, CardInfo where, CardInfo how)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accuserId

public int accuserId
The playerId of the player who indicates the accusation.
Constructor Detail

AccusationInfo

public AccusationInfo(int accurserId,
                      AccusationRequestInfo ari)

AccusationInfo

public AccusationInfo(int accuserId,
                      CardInfo who,
                      CardInfo where,
                      CardInfo how)