Polycode
Polycode::SkeletonAnimation Class Reference

Skeleton animation. More...

List of all members.

Public Member Functions

void addBoneTrack (BoneTrack *boneTrack)
 Adds a new bone track.
const StringgetName () const
 Returns the animation name.
void Play (bool once)
 Plays the animation.
void Stop ()
 Stops the animation.
void setSpeed (Number speed)
 Sets the animation multiplier speed.

Detailed Description

Skeleton animation.


Member Function Documentation

void SkeletonAnimation::addBoneTrack ( BoneTrack *  boneTrack)

Adds a new bone track.

Parameters:
boneTrackNew bone track to add.
void SkeletonAnimation::setSpeed ( Number  speed)

Sets the animation multiplier speed.

Parameters:
speedNumber to multiply the animation speed by.