public static enum GameInfo.GameState extends java.lang.Enum<GameInfo.GameState>
Enum Constant and Description |
---|
ACTIVATED |
DUE |
ENDING |
PROPOSED |
READY_TO_CONNECT |
RUNNING |
STARTING |
Modifier and Type | Method and Description |
---|---|
static GameInfo.GameState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameInfo.GameState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameInfo.GameState PROPOSED
public static final GameInfo.GameState DUE
public static final GameInfo.GameState ACTIVATED
public static final GameInfo.GameState STARTING
public static final GameInfo.GameState READY_TO_CONNECT
public static final GameInfo.GameState RUNNING
public static final GameInfo.GameState ENDING
public static GameInfo.GameState[] values()
for (GameInfo.GameState c : GameInfo.GameState.values()) System.out.println(c);
public static GameInfo.GameState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null