diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-24 17:28:10 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-24 17:28:10 +0100 |
commit | 493f7bd2f8f74a418fb06ddbd419e5d010ec5808 (patch) | |
tree | e92d10f11624f11cd116c314aaab01797e5e1048 /game/player/PlayerEndScript.h | |
parent | abbfe5d06697b93de485dcfe975812befc018a00 (diff) |
Re-implemented player end
Diffstat (limited to 'game/player/PlayerEndScript.h')
-rw-r--r-- | game/player/PlayerEndScript.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/game/player/PlayerEndScript.h b/game/player/PlayerEndScript.h index 240ab7c..03ea8a9 100644 --- a/game/player/PlayerEndScript.h +++ b/game/player/PlayerEndScript.h @@ -5,7 +5,9 @@ class PlayerEndScript : public crepe::Script { public: void init(); - void fixed_update(crepe::duration_t dt); + +private: + bool on_collision(const crepe::CollisionEvent & ev); private: int jump = 0; |