cluedo.info
Class WhoWhereHowInfo

java.lang.Object
  |
  +--cluedo.info.CluedoInfo
        |
        +--cluedo.info.WhoWhereHowInfo
Direct Known Subclasses:
AccusationInfo, AccusationRequestInfo, CrimeFactInfo, SuspicionInfo, SuspicionRequestInfo

public class WhoWhereHowInfo
extends CluedoInfo

Instances of this class transport information of suspicions, accusations and crime facts. When a player raises a suspicion he makes a guess about who carried out the crime, where did the crime take place and which item was used for the murder. The same information is needed in order to transport an accusation or the crime fact. The three guesses are contained within a WhoWhereHowInfo in terms of three CardInfo objects.

See Also:
CluedoPDU, CardInfo, SuspicionAnsweredInfo, Serialized Form

Field Summary
 CardInfo how
          How was the crime carried out.
 CardInfo where
          Where did the crime take place
 CardInfo who
          Who carried out the crime
 
Fields inherited from class cluedo.info.CluedoInfo
ACCEPTED, CLOSED, DIRECTOR, EXPELLED, INVITED, LOOSER, NUMPLAYERS, OPENED, REJECTED, REMOVED, SERVERID, TEAMMATE, TERMINATED, UNKNOWN, WINNER
 
Constructor Summary
WhoWhereHowInfo(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

who

public CardInfo who
Who carried out the crime

where

public CardInfo where
Where did the crime take place

how

public CardInfo how
How was the crime carried out. Which item was used for the murder?
Constructor Detail

WhoWhereHowInfo

public WhoWhereHowInfo(CardInfo who,
                       CardInfo where,
                       CardInfo how)