summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/AnimationManager.hpp')
-rw-r--r--src/managers/AnimationManager.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp
index 483c9813..23729502 100644
--- a/src/managers/AnimationManager.hpp
+++ b/src/managers/AnimationManager.hpp
@@ -6,6 +6,7 @@
#include "../helpers/AnimatedVariable.hpp"
#include "../helpers/BezierCurve.hpp"
#include "../helpers/Timer.hpp"
+#include "eventLoop/EventLoopTimer.hpp"
class CWindow;
@@ -32,7 +33,7 @@ class CAnimationManager {
std::vector<CBaseAnimatedVariable*> m_vAnimatedVariables;
std::vector<CBaseAnimatedVariable*> m_vActiveAnimatedVariables;
- wl_event_source* m_pAnimationTick;
+ std::shared_ptr<CEventLoopTimer> m_pAnimationTimer;
float m_fLastTickTime; // in ms