Animation Class Reference
[Toolkit classes]

#include <animation.h>

Inherits Graphic.

Collaboration diagram for Animation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void draw (BITMAP *canvas, Point offset)
 This is the main reason for this class.
 Animation ()
 Animation (int type)
 Animation (int type, Point p)
 Animation (int type, int x, int y)
 ~Animation ()

Static Public Member Functions

static void defineAnimations ()

Protected Member Functions

void loadAnimation (int type)

Protected Attributes

int type
int currentFrame
int elapsedTime
int length
AnimFrame ** frames

Static Protected Attributes

static AnimSequenceanimationSequence = new AnimSequence [NumAnimations]


Constructor & Destructor Documentation

Animation::Animation (  ) 

Animation::Animation ( int  type  ) 

Animation::Animation ( int  type,
Point  p 
)

Animation::Animation ( int  type,
int  x,
int  y 
)

Animation::~Animation (  ) 


Member Function Documentation

void Animation::defineAnimations (  )  [static]

void Animation::draw ( BITMAP *  canvas,
Point  offset 
) [virtual]

This is the main reason for this class.

Implements Graphic.

void Animation::loadAnimation ( int  type  )  [protected]


Member Data Documentation

AnimSequence * Animation::animationSequence = new AnimSequence [NumAnimations] [static, protected]

int Animation::currentFrame [protected]

int Animation::elapsedTime [protected]

int Animation::length [protected]

int Animation::type [protected]


The documentation for this class was generated from the following files:

Generated on Mon Mar 16 14:33:05 2009 for LearningGaming by  doxygen 1.5.7.1