public enum RefereeMessage extends Enum<RefereeMessage>
Enum Constant and Description |
---|
DROP_BALL
Ball was dropped somewhere.
|
FOUL_L
Left team commited a foul.
|
FOUL_OTHER
They commited a foul.
|
FOUL_OWN
We commited a foul.
|
FOUL_R
Right team commited a foul.
|
HALF_TIME
Half time.
|
OFFSIDE_L
Left team went offside.
|
OFFSIDE_OTHER
They were offside.
|
OFFSIDE_OWN
We were offside.
|
OFFSIDE_R
Right team went offside.
|
TIME_EXTENDED
Extra time.
|
TIME_UP
No more time remaining.
|
TIME_UP_WITHOUT_A_TEAM
Second half elapsed with no opposition team present.
|
Modifier and Type | Method and Description |
---|---|
static RefereeMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefereeMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefereeMessage HALF_TIME
public static final RefereeMessage TIME_UP
public static final RefereeMessage TIME_UP_WITHOUT_A_TEAM
public static final RefereeMessage TIME_EXTENDED
public static final RefereeMessage DROP_BALL
public static final RefereeMessage OFFSIDE_OWN
public static final RefereeMessage OFFSIDE_OTHER
public static final RefereeMessage FOUL_OWN
public static final RefereeMessage FOUL_OTHER
public static final RefereeMessage OFFSIDE_R
public static final RefereeMessage OFFSIDE_L
public static final RefereeMessage FOUL_R
public static final RefereeMessage FOUL_L
public static RefereeMessage[] values()
for (RefereeMessage c : RefereeMessage.values()) System.out.println(c);
public static RefereeMessage 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.