aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerAudioScript.h
diff options
context:
space:
mode:
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;
+};