Can now use -g to set a goal.
This commit is contained in:
parent
3d4ddde96e
commit
210b0e4d21
7 changed files with 40 additions and 13 deletions
3
gui.hpp
3
gui.hpp
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue