diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 14:06:45 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 14:06:45 +0100 |
commit | 41f890863706ee8ede43021fe83b776b638a18b7 (patch) | |
tree | 4ee74df7e60c8c22c61a1748dd648dda2783b21f /game/hud/HudScript.h | |
parent | bc66e7195c80facca244f933b882011e5e81fa3c (diff) |
fixed coins and improved coin
Diffstat (limited to 'game/hud/HudScript.h')
-rw-r--r-- | game/hud/HudScript.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/hud/HudScript.h b/game/hud/HudScript.h index 0aa10a4..d780d4b 100644 --- a/game/hud/HudScript.h +++ b/game/hud/HudScript.h @@ -1,5 +1,6 @@ #pragma once +#include "api/Event.h" #include "api/Script.h" #include "manager/SaveManager.h" @@ -12,6 +13,7 @@ public: void init() override; void frame_update(crepe::duration_t dt) override; bool get_coin(const GetCoinEvent e); + bool toggle_fps(crepe::KeyPressEvent ev); private: crepe::SaveManager* savemgr; bool show_fps = false; |