Package game
Enum SimulatorConfigOption
java.lang.Object
java.lang.Enum<SimulatorConfigOption>
game.SimulatorConfigOption
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SimulatorConfigOption>
,java.lang.constant.Constable
public enum SimulatorConfigOption extends java.lang.Enum<SimulatorConfigOption>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description GAME_GHOST_COUNT
GAME_LEVELS_TO_PLAY
GAME_POWER_PILLS
GAME_SEED
GAME_TOTAL_PILLS
SIM_CAN_BE_PAUSED
SIM_REPLAY
SIM_REPLAY_FILE
SIM_THINK_TIME_MILLIS
SIM_VIS_SCALE_2X
SIM_VISUALIZE
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
option
-
Method Summary
Modifier and Type Method Description static SimulatorConfigOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SimulatorConfigOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Field Details
-
option
public final java.lang.String option
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-