I need to change my collision and movement physics engine entirely
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define SCHEDULER_HPP
|
||||
|
||||
#include <ctime>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <atomic>
|
||||
#include <vector>
|
||||
@@ -26,7 +27,7 @@ struct Scheduler {
|
||||
Scheduler();
|
||||
std::vector<Timer> timers;
|
||||
void update(std::atomic<bool>& running);
|
||||
int pull(std::string name);
|
||||
std::optional<Timer*> pull(std::string name);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user