public enum PlayMode extends Enum<PlayMode>
Enum Constant and Description |
---|
BeforeKickOff |
corner_kick_left |
corner_kick_right |
free_kick_left |
free_kick_right |
GameOver |
goal_kick_left |
goal_kick_right |
Goal_Left |
Goal_Right |
KickIn_Left |
KickIn_Right |
KickOff_Left |
KickOff_Right |
offside_left |
offside_right |
PlayOn |
Modifier and Type | Method and Description |
---|---|
static PlayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayMode BeforeKickOff
public static final PlayMode KickOff_Left
public static final PlayMode KickOff_Right
public static final PlayMode PlayOn
public static final PlayMode KickIn_Left
public static final PlayMode KickIn_Right
public static final PlayMode corner_kick_left
public static final PlayMode corner_kick_right
public static final PlayMode goal_kick_left
public static final PlayMode goal_kick_right
public static final PlayMode offside_left
public static final PlayMode offside_right
public static final PlayMode GameOver
public static final PlayMode Goal_Left
public static final PlayMode Goal_Right
public static final PlayMode free_kick_left
public static final PlayMode free_kick_right
public static PlayMode[] values()
for (PlayMode c : PlayMode.values()) System.out.println(c);
public static 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 null