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