maps are more efficient to make and run on memory

This commit is contained in:
DarthMooMancer
2025-10-26 16:47:16 -04:00
parent 5e5f712a84
commit cd19e841a5
6 changed files with 135 additions and 105 deletions
+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