#include <particle.h>
GraphicAnimation::GraphicAnimation |
( |
CGraphic * |
g, |
|
|
int |
ticksPerFrame |
|
) |
| |
GraphicAnimation::~GraphicAnimation |
( |
| ) |
|
|
inline |
void GraphicAnimation::draw |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Draw the current frame of the animation.
- Parameters
-
x | x screen coordinate where to draw the animation. |
y | y screen coordinate where to draw the animation. |
bool GraphicAnimation::isFinished |
( |
| ) |
|
void GraphicAnimation::update |
( |
int |
ticks | ) |
|
Update the animation.
- Parameters
-
ticks | the number of ticks elapsed since the last call. |
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The