Quick ability to set the countdown timer length.
This commit is contained in:
parent
d4d8c780a4
commit
8a30fafabb
4 changed files with 21 additions and 6 deletions
3
gui.hpp
3
gui.hpp
|
@ -16,10 +16,11 @@ class GUI {
|
|||
std::wstring $status;
|
||||
DinkyECS::Entity $hp_bar;
|
||||
bool $hit_error = false;
|
||||
int $timer_seconds;
|
||||
|
||||
public:
|
||||
|
||||
GUI(SFMLBackend &backend);
|
||||
GUI(SFMLBackend &backend, int timer_seconds);
|
||||
|
||||
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