diff options
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; |