Modifier and Type | Method and Description |
---|---|
int |
getAnimation()
Gets the animation id.
|
int |
getIdleAnimation()
Gets the idle animation id.
|
default boolean |
isAnimating()
Determines if this entity is animating based on
getAnimation() . |
int getAnimation()
int getIdleAnimation()
default boolean isAnimating()
getAnimation()
.getAnimation()
is not -1, false otherwise