aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerAudioScript.h
diff options
context:
space:
mode:
authorWboerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-07 14:12:28 +0100
committerGitHub <noreply@github.com>2025-01-07 14:12:28 +0100
commit80b2c59068f97ff69a2ba77788c4861b10535328 (patch)
tree30500bf55a2a8d3b1995b72675f0321bd364b9ce /game/player/PlayerAudioScript.h
parent77d02bf2e2d5d04e8cacb3c783446541517e8e76 (diff)
parenta2d9f875a219d6d1c53784a307b4915cc4e1ee14 (diff)
Merge pull request #103 from lonkaars/max/game
Max/game (audio)
Diffstat (limited to 'game/player/PlayerAudioScript.h')
-rw-r--r--game/player/PlayerAudioScript.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/game/player/PlayerAudioScript.h b/game/player/PlayerAudioScript.h
new file mode 100644
index 0000000..764cb20
--- /dev/null
+++ b/game/player/PlayerAudioScript.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <crepe/api/Event.h>
+#include <crepe/api/Script.h>
+
+class PlayerAudioScript : public crepe::Script {
+public:
+ void fixed_update(crepe::duration_t dt);
+
+private:
+ int last_row = -1;
+ int current_footstep = 0;
+};