ggz.common
Class TableState

java.lang.Object
  extended by ggz.common.TableState

public class TableState
extends java.lang.Object

Table state values. GGZ tables take one of the following states. They are used by the GGZ client and GGZ server. This is *not* necessarily the same as the game state kept by libggzdmod


Field Summary
static TableState GGZ_TABLE_CREATED
          Initial created state for the table.
static TableState GGZ_TABLE_DONE
          The game session is finished and the table will soon exit.
static TableState GGZ_TABLE_ERROR
          There is some error with the table.
static TableState GGZ_TABLE_PLAYING
          Playing a game.
static TableState GGZ_TABLE_WAITING
          Waiting for enough players to join before playing.
 
Method Summary
static TableState valueOf(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GGZ_TABLE_ERROR

public static final TableState GGZ_TABLE_ERROR
There is some error with the table.


GGZ_TABLE_CREATED

public static final TableState GGZ_TABLE_CREATED
Initial created state for the table.


GGZ_TABLE_WAITING

public static final TableState GGZ_TABLE_WAITING
Waiting for enough players to join before playing.


GGZ_TABLE_PLAYING

public static final TableState GGZ_TABLE_PLAYING
Playing a game.


GGZ_TABLE_DONE

public static final TableState GGZ_TABLE_DONE
The game session is finished and the table will soon exit.

Method Detail

valueOf

public static TableState valueOf(int i)