diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-03-07 16:05:57 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:12:40 +0300 |
commit | 69f6e406743e9bfa4813989cec71d9465b1524e2 (patch) | |
tree | 98ec8f1e4163bcfced4abafcd37499c51401ccd9 /map/alfa_animation_task.hpp | |
parent | aa9010fa705edb99280619e9e74e04fbff2b0430 (diff) |
new ruler with chess and poetesses
Diffstat (limited to 'map/alfa_animation_task.hpp')
-rw-r--r-- | map/alfa_animation_task.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/map/alfa_animation_task.hpp b/map/alfa_animation_task.hpp new file mode 100644 index 0000000000..151b1f9c3a --- /dev/null +++ b/map/alfa_animation_task.hpp @@ -0,0 +1,29 @@ +#pragma once + +#include "../anim/task.hpp" + +class Framework; + +class AlfaCompassAnim : public anim::Task +{ + typedef anim::Task base_t; +public: + AlfaCompassAnim(double start, double end, double timeInterval, double timeOffset, Framework * f); + + bool IsHiding() const; + + float GetCurrentAlfa() const; + + virtual void OnStart(double ts); + virtual void OnStep(double ts); + +private: + double m_start; + double m_end; + double m_current; + double m_timeInterval; + double m_timeOffset; + double m_timeStart; + + Framework * m_f; +}; |