aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerScript.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-09 14:46:30 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-09 14:46:30 +0100
commit7739a80176cea889ce240d18d354c5174825b25a (patch)
treee61974e217791cd86f519bf1c4cfd3b082d55166 /game/player/PlayerScript.h
parent8b32dbc33c434f84b4aab98819147c3b8416ff69 (diff)
workers during normal sequence working
Diffstat (limited to 'game/player/PlayerScript.h')
-rw-r--r--game/player/PlayerScript.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/player/PlayerScript.h b/game/player/PlayerScript.h
index e7d860a..0fe21d1 100644
--- a/game/player/PlayerScript.h
+++ b/game/player/PlayerScript.h
@@ -15,8 +15,11 @@ private:
private:
int prev_anim = 0;
+ bool gravity_mode = true;
+ bool fall_direction = false;
std::chrono::time_point<std::chrono::steady_clock> last_fired;
+ std::chrono::time_point<std::chrono::steady_clock> last_switched;
std::chrono::duration<float> shot_delay = std::chrono::duration<float>(0.5);
-
+ std::chrono::duration<float> switch_delay = std::chrono::duration<float>(0.01);
int current_jetpack_sound = 0;
};