_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <particle.h>
◆ GraphicAnimation()
GraphicAnimation::GraphicAnimation |
( |
CGraphic * |
g, |
|
|
int |
ticksPerFrame |
|
) |
| |
◆ ~GraphicAnimation()
GraphicAnimation::~GraphicAnimation |
( |
| ) |
|
|
inline |
◆ clone()
◆ draw()
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. |
◆ isFinished()
bool GraphicAnimation::isFinished |
( |
| ) |
|
◆ isVisible()
◆ update()
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