public static enum Client.GameState extends java.lang.Enum<Client.GameState>
Enum Constant and Description |
---|
CONNECTION_LOST |
HOPPING |
LOADING |
LOADING_MAP |
LOGGED_IN |
LOGGED_OUT |
STARTING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Client.GameState |
forState(int state) |
static Client.GameState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Client.GameState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.GameState UNKNOWN
public static final Client.GameState STARTING
public static final Client.GameState LOGGED_OUT
public static final Client.GameState LOADING
public static final Client.GameState LOADING_MAP
public static final Client.GameState LOGGED_IN
public static final Client.GameState CONNECTION_LOST
public static final Client.GameState HOPPING
public static Client.GameState[] values()
for (Client.GameState c : Client.GameState.values()) System.out.println(c);
public static Client.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 nullpublic static Client.GameState forState(int state)