public static enum Human.State extends java.lang.Enum<Human.State>
Enum Constant and Description |
---|
ALERTED |
CHARGE |
CHARGE_START |
CHOP_TREE |
DEAD |
DOUBLE_JUMP |
ENTER_COMBAT |
FALL |
FIRE |
HIT |
HIT_HEAD |
IDLE |
JUMP |
MELEE |
SMASH |
SPAWN |
TELEPORT |
WALK |
Modifier and Type | Method and Description |
---|---|
static Human.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Human.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Human.State SPAWN
public static final Human.State IDLE
public static final Human.State WALK
public static final Human.State JUMP
public static final Human.State DOUBLE_JUMP
public static final Human.State FALL
public static final Human.State CHOP_TREE
public static final Human.State ENTER_COMBAT
public static final Human.State MELEE
public static final Human.State CHARGE_START
public static final Human.State CHARGE
public static final Human.State SMASH
public static final Human.State FIRE
public static final Human.State ALERTED
public static final Human.State HIT
public static final Human.State HIT_HEAD
public static final Human.State DEAD
public static final Human.State TELEPORT
public static Human.State[] values()
for (Human.State c : Human.State.values()) System.out.println(c);
public static Human.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