public enum EnumMovement extends java.lang.Enum<EnumMovement>
Enum Constant and Description |
---|
Back |
Crouch |
Descend |
Forward |
Jump |
Left |
Right |
Modifier and Type | Method and Description |
---|---|
static EnumMovement |
getMovement(int index) |
static boolean |
hasMovement(java.lang.String name) |
static EnumMovement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumMovement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumMovement Jump
public static final EnumMovement Descend
public static final EnumMovement Crouch
public static final EnumMovement Back
public static final EnumMovement Forward
public static final EnumMovement Left
public static final EnumMovement Right
public static EnumMovement[] values()
for (EnumMovement c : EnumMovement.values()) System.out.println(c);
public static EnumMovement 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 static EnumMovement getMovement(int index)
public static boolean hasMovement(java.lang.String name)