| Enum Constant and Description | 
|---|
BEGINNING_OF_GAME
At the absolute start of the game, before anything has happened 
 | 
CHOOSING_CARDS
Indicates that the user is in the process of choosing cards 
 | 
CHOOSING_STAY_IN_POWER_DOWN
Indicates that the user is in the process of choosing whether to stay in power down 
 | 
EXITED
Indicates that the game is no longer running 
 | 
GAME_IS_WON
Indicates that the game is won by a player 
 | 
INITIAL_SETUP
The game is in the process of setting up things which are needed before it's ready for user input 
 | 
RUNNING_PROGRAMS
Indicates that the users' input is being run. 
 | 
SKIP_POWER_DOWN_SCREEN
Indicates that the game is in the process of skipping the power down screen 
 | 
SKIP_STAY_IN_POWER_DOWN
Indicates that the game is in the process of skipping the stay in power down screen 
 | 
TURN_CLEANUP
Indicates that the game is in the process of cleaning up after a turn 
 | 
WAITING_FOR_CARDS_FROM_SERVER
Indicates that the game is waiting on a new deck from the server 
 | 
WAITING_FOR_OTHER_PLAYERS_PROGRAMS
Indicates that the game is waiting for other players to finish programming 
 | 
| 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 BEGINNING_OF_GAME
public static final GameState RUNNING_PROGRAMS
public static final GameState INITIAL_SETUP
public static final GameState TURN_CLEANUP
public static final GameState CHOOSING_CARDS
public static final GameState CHOOSING_STAY_IN_POWER_DOWN
public static final GameState GAME_IS_WON
public static final GameState EXITED
public static final GameState SKIP_POWER_DOWN_SCREEN
public static final GameState SKIP_STAY_IN_POWER_DOWN
public static final GameState WAITING_FOR_OTHER_PLAYERS_PROGRAMS
public static final GameState WAITING_FOR_CARDS_FROM_SERVER
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