public enum PlayMode extends Enum<PlayMode>
Enum Constant and Description |
---|
BEFORE_KICK_OFF
The mode of a game before it starts.
|
CORNER_KICK_L
Corner kick for the left team.
|
CORNER_KICK_OTHER
They get a corner kick.
|
CORNER_KICK_OWN
We get a corner kick.
|
CORNER_KICK_R
Corner kick for the right team.
|
FREE_KICK_FAULT_L
Free kick fault for the left team.
|
FREE_KICK_FAULT_OTHER
They commited a free kick fault.
|
FREE_KICK_FAULT_OWN
We commited a free kick fault.
|
FREE_KICK_FAULT_R
Free kick fault for the left team.
|
FREE_KICK_L
Free kick for the left team.
|
FREE_KICK_OTHER
They get a free kick.
|
FREE_KICK_OWN
We get a free kick.
|
FREE_KICK_R
Free kick for the right team.
|
GOAL_KICK_L
Goal kick for the left team.
|
GOAL_KICK_OTHER
They get a goal kick.
|
GOAL_KICK_OWN
We get a goal kick.
|
GOAL_KICK_R
Goal kick for the right team.
|
GOAL_L
Left team scored.
|
GOAL_OTHER
They scored = (
|
GOAL_OWN
We scored!
|
GOAL_R
Right team scored.
|
KICK_IN_L
Kick in for the left team.
|
KICK_IN_OTHER
They get a kick in.
|
KICK_IN_OWN
We get a kick in.
|
KICK_IN_R
Kick in for the right team.
|
KICK_OFF_L
Kick off for the left team.
|
KICK_OFF_OTHER
They get kick off.
|
KICK_OFF_OWN
We get kick off!
|
KICK_OFF_R
Kick off for the right team.
|
PLAY_ON
The default play mode.
|
TIME_OVER
The time has finished.
|
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 BEFORE_KICK_OFF
public static final PlayMode TIME_OVER
public static final PlayMode PLAY_ON
public static final PlayMode KICK_OFF_OWN
public static final PlayMode KICK_OFF_OTHER
public static final PlayMode KICK_IN_OWN
public static final PlayMode KICK_IN_OTHER
public static final PlayMode FREE_KICK_OWN
public static final PlayMode FREE_KICK_OTHER
public static final PlayMode FREE_KICK_FAULT_OWN
public static final PlayMode FREE_KICK_FAULT_OTHER
public static final PlayMode CORNER_KICK_OWN
public static final PlayMode CORNER_KICK_OTHER
public static final PlayMode GOAL_KICK_OWN
public static final PlayMode GOAL_KICK_OTHER
public static final PlayMode GOAL_OWN
public static final PlayMode GOAL_OTHER
public static final PlayMode KICK_OFF_L
public static final PlayMode KICK_OFF_R
public static final PlayMode KICK_IN_L
public static final PlayMode KICK_IN_R
public static final PlayMode FREE_KICK_R
public static final PlayMode FREE_KICK_L
public static final PlayMode FREE_KICK_FAULT_L
public static final PlayMode FREE_KICK_FAULT_R
public static final PlayMode CORNER_KICK_R
public static final PlayMode CORNER_KICK_L
public static final PlayMode GOAL_KICK_R
public static final PlayMode GOAL_KICK_L
public static final PlayMode GOAL_R
public static final PlayMode GOAL_L
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 nullCopyright © 2003–2015 Atan. All rights reserved.