Enum Constant and Description |
---|
CROUCHING |
DYING |
FALL_FLYING |
SLEEPING |
SPIN_ATTACK |
STANDING |
SWIMMING |
Modifier and Type | Method and Description |
---|---|
static Pose |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pose STANDING
public static final Pose FALL_FLYING
public static final Pose SLEEPING
public static final Pose SWIMMING
public static final Pose SPIN_ATTACK
public static final Pose CROUCHING
public static final Pose DYING
public static Pose[] values()
for (Pose c : Pose.values()) System.out.println(c);
public static Pose 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