Move AnimationManager::tick() to an event loop

This commit is contained in:
vaxerski
2023-03-02 17:30:47 +00:00
parent dea71875e4
commit 34685a836a
3 changed files with 16 additions and 1 deletions

View File

@@ -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);