diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-02 17:30:47 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-02 17:30:50 +0000 |
| commit | 34685a836a40648167848060b48b62788cdcc85f (patch) | |
| tree | d2f80358ccee9983f56ccf0aa9845083af5f8ba1 /src/managers/AnimationManager.hpp | |
| parent | dea71875e40d5ff4ad649b3c04b02419b06da5df (diff) | |
Move AnimationManager::tick() to an event loop
Diffstat (limited to 'src/managers/AnimationManager.hpp')
| -rw-r--r-- | src/managers/AnimationManager.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp index 77e8acf1..635d51eb 100644 --- a/src/managers/AnimationManager.hpp +++ b/src/managers/AnimationManager.hpp @@ -26,6 +26,8 @@ class CAnimationManager { std::list<CAnimatedVariable*> m_lAnimatedVariables; + wl_event_source* m_pAnimationTick; + private: bool deltaSmallToFlip(const Vector2D& a, const Vector2D& b); bool deltaSmallToFlip(const CColor& a, const CColor& b); |
