Public Member Functions | |
| Animation (final int animationId, final int flags,@NotNull final int[] faces) | |
| int | getAnimationId () |
| int | getFaces () |
| int | getFace (final int index) |
Manages animations received from the server. Animations are uniquely identified by an animation id. Each animation consists of a list of faces.
Definition at line 31 of file Animation.java.
| com.realtime.crossfire.jxclient.animations.Animation.Animation | ( | final int | animationId, | |
| final int | flags, | |||
| @NotNull final int[] | faces | |||
| ) |
Creates a new instance.
| animationId | the animation ID | |
| flags | flags for the animation; currently unused | |
| faces | the faces list of the animation |
Definition at line 55 of file Animation.java.
| int com.realtime.crossfire.jxclient.animations.Animation.getAnimationId | ( | ) |
| int com.realtime.crossfire.jxclient.animations.Animation.getFace | ( | final int | index | ) |
Returns one face of this animation.
| index | the face index |
Definition at line 85 of file Animation.java.
| int com.realtime.crossfire.jxclient.animations.Animation.getFaces | ( | ) |
Returns the number of faces of this animation.
Definition at line 76 of file Animation.java.

1.6.3