#pragma once #include "../defines.hpp" #include class CAnimationManager { public: void tick(); private: bool deltaSmallToFlip(const Vector2D& a, const Vector2D& b); bool deltaSmallToFlip(const CColor& a, const CColor& b); bool deltazero(const Vector2D& a, const Vector2D& b); bool deltazero(const CColor& a, const CColor& b); double parabolic(const double, const double, const double); CColor parabolic(const double, const CColor&, const CColor&); }; inline std::unique_ptr g_pAnimationManager;