mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-16 04:18:08 +00:00
I havent checked if this compiled
This commit is contained in:
@@ -9,6 +9,10 @@ EntityCallbackTimer::~EntityCallbackTimer() {
|
||||
|
||||
}
|
||||
|
||||
void EntityCallbackTimer::ExecuteCallback() {
|
||||
m_Callback();
|
||||
}
|
||||
|
||||
std::function<void()> EntityCallbackTimer::GetCallback() {
|
||||
return m_Callback;
|
||||
}
|
||||
|
@@ -8,6 +8,7 @@ public:
|
||||
EntityCallbackTimer(float time, std::function<void()> callback);
|
||||
~EntityCallbackTimer();
|
||||
|
||||
void ExecuteCallback();
|
||||
std::function<void()> GetCallback();
|
||||
float GetTime();
|
||||
|
||||
|
Reference in New Issue
Block a user