aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerEndScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 11:27:15 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 11:27:15 +0100
commitc35a53ff122d9ea3547ef8ae6035bd9e1b10d4cb (patch)
tree38af0734a951440ffdc7daac0e66aa1ba9b7287b /game/player/PlayerEndScript.h
parent2c4494e371881361e5c883e8fe6952af3400cadc (diff)
parent20ae1e9dc2043ef3c190f77dd5f9de74bcd533de (diff)
pull max char
Diffstat (limited to 'game/player/PlayerEndScript.h')
-rw-r--r--game/player/PlayerEndScript.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/game/player/PlayerEndScript.h b/game/player/PlayerEndScript.h
new file mode 100644
index 0000000..03ea8a9
--- /dev/null
+++ b/game/player/PlayerEndScript.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class PlayerEndScript : public crepe::Script {
+public:
+ void init();
+
+private:
+ bool on_collision(const crepe::CollisionEvent & ev);
+
+private:
+ int jump = 0;
+};