aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerAudioScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 14:14:21 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 14:14:21 +0100
commitca456c50a6a4f35832d7b9d8d1b8f5eecee0e148 (patch)
tree78163daa8384e18b894491ffc8d18e8f69b88d5d /game/player/PlayerAudioScript.h
parent41f890863706ee8ede43021fe83b776b638a18b7 (diff)
parent80b2c59068f97ff69a2ba77788c4861b10535328 (diff)
merged
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;
+};