mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-19 19:20:13 +00:00
switch to unique_ptrs for callback timers
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
class EntityCallbackTimer {
|
||||
public:
|
||||
EntityCallbackTimer(float time, std::function<void()> callback);
|
||||
EntityCallbackTimer(const float& time, const std::function<void()>& callback);
|
||||
~EntityCallbackTimer();
|
||||
|
||||
void ExecuteCallback();
|
||||
|
||||
Reference in New Issue
Block a user