Package | Description |
---|---|
com.jonathan.survivor.entity |
Modifier and Type | Method and Description |
---|---|
Human.State |
Human.getPreviousState()
Retrieves the previous state of the Human.
|
Human.State |
Human.getState()
Gets the state (IDLE, JUMP, etc.) of the GameObject, used to dictate which animations to use.
|
static Human.State |
Human.State.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Human.State[] |
Human.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Human.setPreviousState(Human.State previousState)
Sets the previous state of the Human.
|
void |
Zombie.setState(Human.State state) |
void |
Human.setState(Human.State state)
Sets the state (IDLE, JUMP, etc.) of the GameObject, used to dictate which animations to use.
|