public class Animation
extends java.lang.Object
| Constructor and Description |
|---|
Animation(int animationId,
int[] faces)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAnimationId()
Returns the animation ID.
|
int |
getFace(int index)
Returns one face of this animation.
|
int |
getFaces()
Returns the number of faces of this animation.
|
public Animation(int animationId,
int[] faces)
animationId - the animation IDfaces - the faces list of the animationpublic int getAnimationId()
public int getFaces()
public int getFace(int index)
index - the face index