public static enum EnvironmentModel.PlayMode extends Enum<EnvironmentModel.PlayMode>
Enum Constant and Description |
---|
BEFORE_KICK_OFF |
CORNER_KICK_LEFT |
CORNER_KICK_RIGHT |
FREE_KICK_LEFT |
FREE_KICK_RIGHT |
GAME_OVER |
GOAL_KICK_LEFT |
GOAL_KICK_RIGHT |
GOAL_LEFT |
GOAL_RIGHT |
KICK_IN_LEFT |
KICK_IN_RIGHT |
KICK_OFF_LEFT |
KICK_OFF_RIGHT |
OFFSIDE_LEFT |
OFFSIDE_RIGHT |
PLAY_ON |
Modifier and Type | Field and Description |
---|---|
private static Map<String,EnvironmentModel.PlayMode> |
serverNotation |
Modifier and Type | Method and Description |
---|---|
static EnvironmentModel.PlayMode |
fromString(String group) |
static EnvironmentModel.PlayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentModel.PlayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvironmentModel.PlayMode BEFORE_KICK_OFF
public static final EnvironmentModel.PlayMode PLAY_ON
public static final EnvironmentModel.PlayMode KICK_OFF_LEFT
public static final EnvironmentModel.PlayMode KICK_OFF_RIGHT
public static final EnvironmentModel.PlayMode KICK_IN_LEFT
public static final EnvironmentModel.PlayMode KICK_IN_RIGHT
public static final EnvironmentModel.PlayMode CORNER_KICK_LEFT
public static final EnvironmentModel.PlayMode CORNER_KICK_RIGHT
public static final EnvironmentModel.PlayMode GOAL_KICK_LEFT
public static final EnvironmentModel.PlayMode GOAL_KICK_RIGHT
public static final EnvironmentModel.PlayMode OFFSIDE_LEFT
public static final EnvironmentModel.PlayMode OFFSIDE_RIGHT
public static final EnvironmentModel.PlayMode GAME_OVER
public static final EnvironmentModel.PlayMode GOAL_LEFT
public static final EnvironmentModel.PlayMode GOAL_RIGHT
public static final EnvironmentModel.PlayMode FREE_KICK_LEFT
public static final EnvironmentModel.PlayMode FREE_KICK_RIGHT
private static Map<String,EnvironmentModel.PlayMode> serverNotation
public static EnvironmentModel.PlayMode[] values()
for (EnvironmentModel.PlayMode c : EnvironmentModel.PlayMode.values()) System.out.println(c);
public static EnvironmentModel.PlayMode 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 nullpublic static EnvironmentModel.PlayMode fromString(String group)