| Enum Constant and Description |
|---|
BLACK_TO_GAME
The program is transitioning from a black screen to the game
|
CHANGING_STAGES
The program is changing stages
|
CONTROL_SCREEN
The program is showing the control screen
|
CREDIT
The program is showing the end credits
|
DEATH_SCREEN
The program is showing the death screen
|
END_SCREEN
The program is showing the end screen
|
GAME
The program is showing the game
|
MAP_SCREEN_TO_GAME
The program is transitioning from the stage screen to the game
|
MENU
The program is showing the menu screen
|
TITLE_SCREEN
The program is showing the title screen
|
TITLE_SCREEN_TO_BLACK_AND_MAP_SCREEN
The program is transitioning from the title screen to the stage screen
|
| Modifier and Type | Method and Description |
|---|---|
static GameState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameState MENU
public static final GameState GAME
public static final GameState TITLE_SCREEN
public static final GameState TITLE_SCREEN_TO_BLACK_AND_MAP_SCREEN
public static final GameState BLACK_TO_GAME
public static final GameState MAP_SCREEN_TO_GAME
public static final GameState CONTROL_SCREEN
public static final GameState DEATH_SCREEN
public static final GameState END_SCREEN
public static final GameState CHANGING_STAGES
public static final GameState CREDIT
public static GameState[] values()
for (GameState c : GameState.values()) System.out.println(c);
public static 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