aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerEndScript.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2024-12-24 16:31:58 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2024-12-24 16:31:58 +0100
commitabbfe5d06697b93de485dcfe975812befc018a00 (patch)
tree8b6b5c5d327e5eb3fb5855846f52d155c7364e2f /game/player/PlayerEndScript.h
parenta764ef0f1f6b7c5d18155163d63db1a6dd47093a (diff)
Moved EndGameScript to Player
Diffstat (limited to 'game/player/PlayerEndScript.h')
-rw-r--r--game/player/PlayerEndScript.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/player/PlayerEndScript.h b/game/player/PlayerEndScript.h
new file mode 100644
index 0000000..240ab7c
--- /dev/null
+++ b/game/player/PlayerEndScript.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class PlayerEndScript : public crepe::Script {
+public:
+ void init();
+ void fixed_update(crepe::duration_t dt);
+
+private:
+ int jump = 0;
+};