diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -78,7 +78,6 @@ class TileAnimation private: std::list<std::pair<MapLayer*, int> > mAffected; SimpleAnimation mAnimation; - int mLastUpdate; Image* mLastImage; }; @@ -160,6 +159,11 @@ class Map : public Properties void initializeOverlays(); /** + * Updates animations. Called every game tick. + */ + void update(); + + /** * Draws the map to the given graphics output. This method draws all * layers, sprites and overlay effects. * |