public static enum GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub extends java.lang.Enum<GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub>
| Enum Constant and Description |
|---|
CANCELLED_BY_GAME
The game had to be stopped by the game itself.
|
CANCELLED_BY_USER
The game has been cancelled by the user in some way.
|
FINISHED
The game has finished in a regular manner (i.e.
|
RUNNING
The game is currently running.
|
| Modifier and Type | Method and Description |
|---|---|
static GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub RUNNING
public static final GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub FINISHED
public static final GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub CANCELLED_BY_USER
public static final GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub CANCELLED_BY_GAME
public static GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub[] values()
for (GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub c : GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub.values()) System.out.println(c);
public static GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub 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