diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-10-19 18:53:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:45:56 +0300 |
commit | 33563e317580071a2b06edd0d8cd7264bdbc824a (patch) | |
tree | 1eb7b0447e19d7aebdb6363aba058687f1071df8 /map/animator.hpp | |
parent | f14b8da35f60bbd0c44915657d9dcc829a68c005 (diff) |
moved duplicate code into StopAnimation method.
Diffstat (limited to 'map/animator.hpp')
-rw-r--r-- | map/animator.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/animator.hpp b/map/animator.hpp index 451cf8f2c6..7e6a1e2a76 100644 --- a/map/animator.hpp +++ b/map/animator.hpp @@ -4,6 +4,7 @@ #include "../geometry/point2d.hpp" #include "../geometry/any_rect2d.hpp" +#include "../anim/task.hpp" class Framework; class RotateScreenTask; @@ -21,6 +22,8 @@ private: shared_ptr<ChangeViewportTask> m_changeViewportTask; shared_ptr<MoveScreenTask> m_moveScreenTask; + void StopAnimation(shared_ptr<anim::Task> const & task); + public: /// constructor by Framework |