public class NamedAnimation extends Animation
AnimationPlayerAnimator| Modifier and Type | Method and Description |
|---|---|
static NamedAnimation |
create(java.lang.String name,
int duration)
Creates a new NamedAnimation with the given name and duration
|
java.lang.String |
getName()
The animation name
|
create, create, doesLoop, getDuration, getID, setLoopingpublic java.lang.String getName()
public static NamedAnimation create(java.lang.String name, int duration)
name - the name of the animation (for Tabula animations, use the name entered for the animation)duration - the duration, in ticks, of your animation