#include <animation.h>
Inherits Graphic.

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 AnimSequence * | animationSequence = new AnimSequence [NumAnimations] |
| Animation::Animation | ( | ) |
| Animation::Animation | ( | int | type | ) |
| Animation::Animation | ( | int | type, | |
| Point | p | |||
| ) |
| Animation::Animation | ( | int | type, | |
| int | x, | |||
| int | y | |||
| ) |
| Animation::~Animation | ( | ) |
| void Animation::defineAnimations | ( | ) | [static] |
| void Animation::draw | ( | BITMAP * | canvas, | |
| Point | offset | |||
| ) | [virtual] |
| void Animation::loadAnimation | ( | int | type | ) | [protected] |
AnimSequence * Animation::animationSequence = new AnimSequence [NumAnimations] [static, protected] |
int Animation::currentFrame [protected] |
int Animation::elapsedTime [protected] |
AnimFrame** Animation::frames [protected] |
int Animation::length [protected] |
int Animation::type [protected] |
1.5.7.1