aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerAudioScript.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 15:01:02 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 15:01:02 +0100
commitf8ffac3b14d41e7d1e43ffe64750d910ed333b0d (patch)
tree1417b93d5e57df858f0cd4177e3c8b5ffbcc021b /game/player/PlayerAudioScript.h
parent5d798c30af7026099344a068e91e1684018b4386 (diff)
parentf31bd86ae5d7df21b788a273d4f2e530136ec184 (diff)
another merge + WIP
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;
+};