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