public enum GameStateDataStatus extends java.lang.Enum<GameStateDataStatus>
| Enum Constant and Description |
|---|
FINISHED
`finished` -- игра окончена.
|
NEW
new игра создана, но не начата.
|
RUNNING
`running` -- игра проводится в данный момент
|
| Modifier and Type | Method and Description |
|---|---|
static GameStateDataStatus |
elementByName(java.lang.String ident) |
java.lang.String |
ident() |
static GameStateDataStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameStateDataStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameStateDataStatus NEW
public static final GameStateDataStatus RUNNING
public static final GameStateDataStatus FINISHED
public static GameStateDataStatus[] values()
for (GameStateDataStatus c : GameStateDataStatus.values()) System.out.println(c);
public static GameStateDataStatus 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 nullpublic java.lang.String ident()
public static GameStateDataStatus elementByName(java.lang.String ident)