Can now use -g to set a goal.

This commit is contained in:
Zed A. Shaw 2025-04-24 13:00:40 -04:00
parent 3d4ddde96e
commit 210b0e4d21
7 changed files with 40 additions and 13 deletions

View file

@ -10,6 +10,7 @@ class Builder;
class GUI {
int $timer_seconds;
std::wstring $goal;
sf::RenderWindow $window;
guecs::UI $gui;
std::wstring $status;
@ -20,7 +21,7 @@ class GUI {
public:
GUI(int timer_seconds);
GUI(int timer_seconds, const std::wstring &goal);
void output(const string msg);
void update_status(GameEngine &game, size_t line_length, bool is_error);