#pragma once #include #include class EntityCallbackTimer { public: EntityCallbackTimer(const float time, const std::function callback); std::function GetCallback() const { return m_Callback; }; float GetTime() const { return m_Time; }; void Update(float deltaTime); private: std::function m_Callback; float m_Time; };