com.realtime.crossfire.jxclient.animations.Animation Class Reference

List of all members.

Public Member Functions

 Animation (final int animationId, final int flags,@NotNull final int[] faces)
int getAnimationId ()
int getFaces ()
int getFace (final int index)

Detailed Description

Manages animations received from the server. Animations are uniquely identified by an animation id. Each animation consists of a list of faces.

Author:
Andreas Kirschbaum

Definition at line 31 of file Animation.java.


Constructor & Destructor Documentation

com.realtime.crossfire.jxclient.animations.Animation.Animation ( final int  animationId,
final int  flags,
@NotNull final int[]  faces 
)

Creates a new instance.

Parameters:
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.


Member Function Documentation

int com.realtime.crossfire.jxclient.animations.Animation.getAnimationId (  ) 

Returns the animation ID.

Returns:
the animation ID

Definition at line 68 of file Animation.java.

int com.realtime.crossfire.jxclient.animations.Animation.getFace ( final int  index  ) 

Returns one face of this animation.

Parameters:
index the face index
Returns:
the face

Definition at line 85 of file Animation.java.

int com.realtime.crossfire.jxclient.animations.Animation.getFaces (  ) 

Returns the number of faces of this animation.

Returns:
the number of faces

Definition at line 76 of file Animation.java.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Nov 6 15:54:30 2011 for Crossfire JXClient, Trunk by  doxygen 1.6.3