Quick fix for the clock to not start right away.
This commit is contained in:
parent
fff4e0fbee
commit
678f5cc917
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class SFMLBackend {
|
||||||
sf::Sprite start_button;
|
sf::Sprite start_button;
|
||||||
sf::Texture start_texture;
|
sf::Texture start_texture;
|
||||||
std::chrono::time_point<std::chrono::system_clock> clock_start;
|
std::chrono::time_point<std::chrono::system_clock> clock_start;
|
||||||
Button buttons = Button::NONE;
|
Button buttons = Button::STOP;
|
||||||
int hit_points = 50;
|
int hit_points = 50;
|
||||||
sf::Font font;
|
sf::Font font;
|
||||||
GameEngine &game;
|
GameEngine &game;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue