diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-07 10:37:52 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-07 10:37:52 +0100 |
commit | d46548ab15699f7ae91227625302553e79a126bc (patch) | |
tree | e5b05fc99dca66512cf76cce30bf905e2213de8b /game/player/PlayerEndScript.h | |
parent | c817f6ff091de9869c803868c50a9ea884ead376 (diff) | |
parent | 77d02bf2e2d5d04e8cacb3c783446541517e8e76 (diff) |
merge master
Diffstat (limited to 'game/player/PlayerEndScript.h')
-rw-r--r-- | game/player/PlayerEndScript.h | 14 |
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; +}; |