public interface IAnimatedEntity
| Modifier and Type | Field and Description |
|---|---|
static Animation |
NO_ANIMATION
An empty animation container.
|
| Modifier and Type | Method and Description |
|---|---|
Animation |
getAnimation() |
Animation[] |
getAnimations() |
int |
getAnimationTick() |
void |
setAnimation(Animation animation)
Sets the currently playing animation.
|
void |
setAnimationTick(int tick)
Sets the current animation tick to the given value.
|
static final Animation NO_ANIMATION
int getAnimationTick()
void setAnimationTick(int tick)
tick - the new tickAnimation getAnimation()
void setAnimation(Animation animation)
animation - the new animationAnimation[] getAnimations()