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