Enum Constant and Description |
---|
ZS_Conquest |
ZS_Custom
Unrated games
|
ZS_Deathmatch |
ZS_Lightning |
ZS_PersistentStats |
ZS_Supremacy |
Modifier and Type | Method and Description |
---|---|
static GameMode |
valueOf(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 ZS_Supremacy
public static final GameMode ZS_Conquest
public static final GameMode ZS_Deathmatch
public static final GameMode ZS_Lightning
public static final GameMode ZS_Custom
public static final GameMode ZS_PersistentStats
public static GameMode[] values()
for (GameMode c : GameMode.values()) System.out.println(c);
public static GameMode 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