I havent checked if this compiled

This commit is contained in:
EmosewaMC
2023-06-14 19:01:31 -07:00
parent fdd98ab825
commit 83065dfb6f
4 changed files with 116 additions and 157 deletions

View File

@@ -9,6 +9,10 @@ EntityCallbackTimer::~EntityCallbackTimer() {
}
void EntityCallbackTimer::ExecuteCallback() {
m_Callback();
}
std::function<void()> EntityCallbackTimer::GetCallback() {
return m_Callback;
}

View File

@@ -8,6 +8,7 @@ public:
EntityCallbackTimer(float time, std::function<void()> callback);
~EntityCallbackTimer();
void ExecuteCallback();
std::function<void()> GetCallback();
float GetTime();