summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 5b79ec8f5..53698ea03 100644
--- a/src/map.h
+++ b/src/map.h
@@ -75,10 +75,14 @@ class TileAnimation
{
public:
TileAnimation(Animation *ani);
+
~TileAnimation();
- void update(int ticks = 1);
+
+ bool update(int ticks = 1);
+
void addAffectedTile(MapLayer *layer, int index)
{ mAffected.push_back(std::make_pair(layer, index)); }
+
private:
std::vector<std::pair<MapLayer*, int> > mAffected;
SimpleAnimation *mAnimation;