expose transform animations cancel through map

This commit is contained in:
Justin R. Miller
2014-02-07 12:26:39 -05:00
parent df2bc0bb7f
commit f6642766c1
2 changed files with 5 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ public:
/* callback */
bool render();
void cancelAnimations();
void tileLoaded(std::shared_ptr<Tile> tile);
void tileFailed(std::shared_ptr<Tile> tile);

View File

@@ -151,6 +151,10 @@ void Map::toggleDebug() {
settings.save();
}
void Map::cancelAnimations() {
transform.cancelAnimations();
}
void Map::update() {
updateTiles();
platform::restart(this);