fixes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// timer for player cooldown
|
||||
//
|
||||
#include "scheduler.hpp"
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
void Timer::update_timers(bool &running, float &dash_timer) {
|
||||
while (running) {
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
dash_timer--;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user