pictionary.message
Class StartDrawData

java.lang.Object
  extended by pictionary.message.StartDrawData
All Implemented Interfaces:
java.io.Serializable

public class StartDrawData
extends java.lang.Object
implements java.io.Serializable

The data contained in the MessageData of a Message sent to a player when it is the player's time to draw.

Author:
Kristoffer Nordkvist
See Also:
Serialized Form

Field Summary
 java.lang.String theWord
          The word the player should attempt to draw.
 int timeLimit
          The amount of time, in seconds, the player can draw before the time is up.
 
Constructor Summary
StartDrawData(java.lang.String theWord, int timeLimit)
          The constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theWord

public final java.lang.String theWord
The word the player should attempt to draw.


timeLimit

public final int timeLimit
The amount of time, in seconds, the player can draw before the time is up.

Constructor Detail

StartDrawData

public StartDrawData(java.lang.String theWord,
                     int timeLimit)
The constructor.

Parameters:
theWord - The word to draw, see theWord.
timeLimit - The time limit, see timeLimit.