$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <particle.h>
Public Member Functions | |
virtual | ~GraphicAnimation () |
graphicanimation.cpp - The Graphic Animation class. | |
GraphicAnimation (CGraphic *g, int ticksPerFrame) | |
virtual void | draw (int x, int y) |
virtual void | update (int ticks) |
virtual bool | isFinished () |
virtual Animation * | clone () |
GraphicAnimation::GraphicAnimation | ( | CGraphic * | g, | |
int | ticksPerFrame | |||
) |
virtual GraphicAnimation::~GraphicAnimation | ( | ) | [inline, virtual] |
void GraphicAnimation::draw | ( | int | x, | |
int | y | |||
) | [virtual] |
Draw the current frame of the animation.
x | x screen coordinate where to draw the animation. | |
y | y screen coordinate where to draw the animation. |
Implements Animation.
void GraphicAnimation::update | ( | int | ticks | ) | [virtual] |
Update the animation.
ticks | the number of ticks elapsed since the last call. |
Implements Animation.
bool GraphicAnimation::isFinished | ( | ) | [virtual] |
Implements Animation.