public static enum DEMScript.State extends java.lang.Enum<DEMScript.State>
| Enum Constant and Description |
|---|
DONE |
FIRE |
SIGNAL |
TURN_TO_TARGET |
WAIT |
| Modifier and Type | Method and Description |
|---|---|
static DEMScript.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DEMScript.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DEMScript.State WAIT
public static final DEMScript.State TURN_TO_TARGET
public static final DEMScript.State SIGNAL
public static final DEMScript.State FIRE
public static final DEMScript.State DONE
public static DEMScript.State[] values()
for (DEMScript.State c : DEMScript.State.values()) System.out.println(c);
public static DEMScript.State 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