public static enum Model.GameState extends java.lang.Enum<Model.GameState>
Enum Constant | Description |
---|---|
CONGRATULATIONS |
|
HELP |
|
LEVELOFTHEDAY |
|
LEVELOFTHEDAY_CONGRATULATIONS |
|
MENU |
|
PLAYING |
Modifier and Type | Method | Description |
---|---|---|
static Model.GameState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Model.GameState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.GameState MENU
public static final Model.GameState PLAYING
public static final Model.GameState LEVELOFTHEDAY
public static final Model.GameState HELP
public static final Model.GameState CONGRATULATIONS
public static final Model.GameState LEVELOFTHEDAY_CONGRATULATIONS
public static Model.GameState[] values()
for (Model.GameState c : Model.GameState.values()) System.out.println(c);
public static Model.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