Logo Search packages:      
Sourcecode: balder2d version File versions  Download package

Balder::Animation Class Reference

#include <animation.h>

List of all members.


Detailed Description

An Icon for displaying an animated image.

Definition at line 33 of file animation.h.


Public Member Functions

void Animate ()
 Animation (std::string, bool, bool, bool, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)
virtual void draw (gcn::Graphics *graphics)
const bool getAnimationHasBaseFrame ()
const bool getAnimationLooped ()
const bool getAnimationPlaying ()
void Play ()
void Restart ()
void setAnimationHasBaseFrame (bool aHBF)
void setAnimationLooped (bool aL)
void Stop ()

Private Attributes

std::string animationFileName
SDL_Surface * animationFrameStrip
bool animationHasBaseFrame
bool animationLooped
bool animationPlaying
unsigned int animationStripLocation
unsigned int frameBase
unsigned int frameCurrent
unsigned int frameHeight
unsigned int frameInterval
unsigned int frameQuantity
unsigned int frameStart
Uint32 frameTimer
unsigned int frameWidth

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

Generated by  Doxygen 1.6.0   Back to index