pictionary.message
Class GameStatusData

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

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

A simple class containing information about a PictionaryGame.

Author:
Kristoffer Nordkvist
See Also:
Serialized Form

Field Summary
 java.util.List<java.lang.String> connectedPlayers
          All the players participating in the Pictionary game.
 int gameStatus
          The game's status, equal to one of the status integers in PictionaryGame, for example PictionaryGame.GAME_STARTED.
 
Constructor Summary
GameStatusData(java.util.List<java.lang.String> connectedPlayers, int gameStatus)
          The constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectedPlayers

public final java.util.List<java.lang.String> connectedPlayers
All the players participating in the Pictionary game.


gameStatus

public final int gameStatus
The game's status, equal to one of the status integers in PictionaryGame, for example PictionaryGame.GAME_STARTED.

Constructor Detail

GameStatusData

public GameStatusData(java.util.List<java.lang.String> connectedPlayers,
                      int gameStatus)
The constructor.

Parameters:
connectedPlayers - The connectedPlayers.
gameStatus - The gameStatus.