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