maps are more efficient to make and run on memory

This commit is contained in:
DarthMooMancer committed 2025-10-26 16:47:16 -04:00
1 parent 5e5f712a84
commit cd19e841a5
6 files changed
+135 -105

No files matched your search

+8 -1
View File
@@ -1,7 +1,14 @@
#ifndef SCHEDULER_HPP
#define SCHEDULER_HPP
struct Times {
float dash_cooldown { 0 };
float dash_cooldown_max { 5 };
float level_switch_cooldown { 0 };
float level_switch_cooldown_max { 1 };
};
struct Timer {
void update_timers(bool &running, float &dash_timer);
void update_timers(bool &running, Times &times);
};
#endif