Animation cycle of a tile image which changes the map accordingly.
More...
#include <map.h>
Animation cycle of a tile image which changes the map accordingly.
Definition at line 60 of file map.h.
◆ TileAnimation()
TileAnimation::TileAnimation |
( |
Animation |
animation | ) |
|
◆ addAffectedTile()
void TileAnimation::addAffectedTile |
( |
MapLayer * |
layer, |
|
|
int |
index |
|
) |
| |
|
inline |
Definition at line 67 of file map.h.
◆ update()
void TileAnimation::update |
( |
int |
dt | ) |
|
◆ mAffected
std::vector<std::pair<MapLayer*, int> > TileAnimation::mAffected |
|
private |
Definition at line 71 of file map.h.
◆ mAnimation
Definition at line 72 of file map.h.
◆ mLastImage
Image* TileAnimation::mLastImage = nullptr |
|
private |
Definition at line 73 of file map.h.
The documentation for this class was generated from the following files: