public enum SpawningMode extends java.lang.Enum<SpawningMode>
Enum Constant and Description |
---|
RANDOM
Spawn points will be selected completely randomly.
|
SEQUENTIAL
Spawn points will be selected in respective order.
|
Modifier and Type | Method and Description |
---|---|
static SpawningMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpawningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpawningMode SEQUENTIAL
public static final SpawningMode RANDOM
public static SpawningMode[] values()
for (SpawningMode c : SpawningMode.values()) System.out.println(c);
public static SpawningMode 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 null