Public Member Functions | Protected Member Functions | Protected Attributes

psastras::engine::graphics::animation::SpriteAnimation Class Reference

Inheritance diagram for psastras::engine::graphics::animation::SpriteAnimation:
Inheritance graph
[legend]
Collaboration diagram for psastras::engine::graphics::animation::SpriteAnimation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SpriteAnimation (Sprite sp, int nFrames, float fps, boolean loop)
void runTimeStep ()
void reset (boolean loop)
boolean isFinished ()

Protected Member Functions

void onAnimationFinished ()

Protected Attributes

Sprite sprite_
Rect frameBounds_
int nFrames_
float fps_
Rect curFrameBounds_ = new Rect()
boolean loop_
boolean isFinished_
long startTime_

The documentation for this class was generated from the following file:
 All Classes Functions Variables