public enum GameStatus extends Enum<GameStatus>
| Enum Constant and Description |
|---|
DISABLED |
GAME_END_CELEBRATING |
REBUILDING |
RUNNING |
WAITING |
| Modifier and Type | Method and Description |
|---|---|
static GameStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameStatus WAITING
public static final GameStatus RUNNING
public static final GameStatus GAME_END_CELEBRATING
public static final GameStatus REBUILDING
public static final GameStatus DISABLED
public static GameStatus[] values()
for (GameStatus c : GameStatus.values()) System.out.println(c);
public static GameStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.