com.threerings.cast
Class ActionSequence

java.lang.Object
  extended by com.threerings.cast.ActionSequence
All Implemented Interfaces:
Serializable

public class ActionSequence
extends Object
implements Serializable

The action sequence class describes a particular character animation sequence. An animation sequence consists of one or more frames of animation, renders at a particular frame rate, and has an origin point that specifies the location of the base of the character in relation to the bounds of the animation images.

See Also:
Serialized Form

Field Summary
static String DEFAULT_SEQUENCE
          Defines the name of the default action sequence.
 float framesPerSecond
          The number of frames per second to show when animating.
 String name
          The action sequence name.
 int[] orients
          Orientation codes for the orientations available for this action.
 Point origin
          The position of the character's base for this sequence.
 
Constructor Summary
ActionSequence()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_SEQUENCE

public static final String DEFAULT_SEQUENCE
Defines the name of the default action sequence. When component tilesets are loaded to build a set of composited images for a particular action sequence, a check is first made for a component tileset specific to the action sequence and then for the component's default tileset if the action specific tileset did not exist.

See Also:
Constant Field Values

name

public String name
The action sequence name.


framesPerSecond

public float framesPerSecond
The number of frames per second to show when animating.


origin

public Point origin
The position of the character's base for this sequence.


orients

public int[] orients
Orientation codes for the orientations available for this action.

Constructor Detail

ActionSequence

public ActionSequence()
Method Detail

toString

public String toString()
Overrides:
toString in class Object