expose transform animations cancel through map
This commit is contained in:
@@ -28,6 +28,7 @@ public:
|
||||
|
||||
/* callback */
|
||||
bool render();
|
||||
void cancelAnimations();
|
||||
void tileLoaded(std::shared_ptr<Tile> tile);
|
||||
void tileFailed(std::shared_ptr<Tile> tile);
|
||||
|
||||
|
||||
@@ -151,6 +151,10 @@ void Map::toggleDebug() {
|
||||
settings.save();
|
||||
}
|
||||
|
||||
void Map::cancelAnimations() {
|
||||
transform.cancelAnimations();
|
||||
}
|
||||
|
||||
void Map::update() {
|
||||
updateTiles();
|
||||
platform::restart(this);
|
||||
|
||||
Reference in New Issue
Block a user