diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 15:03:53 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 15:03:53 +0100 |
commit | e7ff8a9d0cff724520c4fb7a13b77e93797759cf (patch) | |
tree | c9261f172eef20857010180d82cb30e51cd6e5e8 /game/hud/HudScript.h | |
parent | 2c4091f845513cee2de4aac652f9720c74789327 (diff) |
saving coins avaiable in menu
Diffstat (limited to 'game/hud/HudScript.h')
-rw-r--r-- | game/hud/HudScript.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/game/hud/HudScript.h b/game/hud/HudScript.h index d780d4b..cf939f4 100644 --- a/game/hud/HudScript.h +++ b/game/hud/HudScript.h @@ -14,8 +14,11 @@ public: void frame_update(crepe::duration_t dt) override; bool get_coin(const GetCoinEvent e); bool toggle_fps(crepe::KeyPressEvent ev); + bool save(); private: crepe::SaveManager* savemgr; bool show_fps = false; int coin_amount = 0; + std::string coin_amount_st = ""; + std::string distance_st = ""; }; |