aboutsummaryrefslogtreecommitdiff
path: root/game/hud/HudScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 15:03:53 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 15:03:53 +0100
commite7ff8a9d0cff724520c4fb7a13b77e93797759cf (patch)
treec9261f172eef20857010180d82cb30e51cd6e5e8 /game/hud/HudScript.h
parent2c4091f845513cee2de4aac652f9720c74789327 (diff)
saving coins avaiable in menu
Diffstat (limited to 'game/hud/HudScript.h')
-rw-r--r--game/hud/HudScript.h3
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 = "";
};