TileAnimation Class Reference

#include <map.h>

List of all members.


Detailed Description

Animation cycle of a tile image which changes the map accordingly.

Definition at line 71 of file map.h.


Public Member Functions

 TileAnimation (Animation *ani)
 ~TileAnimation ()
void update (int ticks=1)
void addAffectedTile (MapLayer *layer, int index)

Private Attributes

std::list< std::pair< MapLayer
*, int > > 
mAffected
SimpleAnimationmAnimation
ImagemLastImage

Constructor & Destructor Documentation

TileAnimation::TileAnimation ( Animation ani  ) 

Definition at line 67 of file map.cpp.

TileAnimation::~TileAnimation (  ) 

Definition at line 73 of file map.cpp.


Member Function Documentation

void TileAnimation::update ( int  ticks = 1  ) 

Definition at line 78 of file map.cpp.

void TileAnimation::addAffectedTile ( MapLayer layer,
int  index 
) [inline]

Definition at line 77 of file map.h.


Member Data Documentation

std::list<std::pair<MapLayer*, int> > TileAnimation::mAffected [private]

Definition at line 80 of file map.h.

Definition at line 81 of file map.h.

Definition at line 82 of file map.h.


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

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5