| Enum Constant and Description |
|---|
AUTON
The auton.
|
DISABLED
The disabled.
|
NONE
The none.
|
TELEOP
The teleop.
|
TEST
The test.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
m_abbr
The m_abbr.
|
private java.lang.String |
m_name
The m_name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAbbreviation()
Get the abbreviation of the GameMode.
|
java.lang.String |
getName()
Get the name of the GameMode.
|
static GameMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameMode NONE
public static final GameMode DISABLED
public static final GameMode TEST
public static final GameMode AUTON
public static final GameMode TELEOP
private final java.lang.String m_name
private final java.lang.String m_abbr
public static GameMode[] values()
for (GameMode c : GameMode.values()) System.out.println(c);
public static GameMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.String getAbbreviation()