public static enum EnvironmentModel.Beamable extends Enum<EnvironmentModel.Beamable>
Enum Constant and Description |
---|
BEFORE_KICK_OFF |
GAME_OVER |
GOAL_LEFT |
GOAL_RIGHT |
KICK_OFF_LEFT |
KICK_OFF_RIGHT |
Modifier and Type | Method and Description |
---|---|
static EnvironmentModel.Beamable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentModel.Beamable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvironmentModel.Beamable BEFORE_KICK_OFF
public static final EnvironmentModel.Beamable GAME_OVER
public static final EnvironmentModel.Beamable GOAL_LEFT
public static final EnvironmentModel.Beamable GOAL_RIGHT
public static final EnvironmentModel.Beamable KICK_OFF_LEFT
public static final EnvironmentModel.Beamable KICK_OFF_RIGHT
public static EnvironmentModel.Beamable[] values()
for (EnvironmentModel.Beamable c : EnvironmentModel.Beamable.values()) System.out.println(c);
public static EnvironmentModel.Beamable valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null