Quick fix for the clock to not start right away.

master
Zed A. Shaw 3 months ago
parent fff4e0fbee
commit 678f5cc917
  1. 2
      sfmlbackend.hpp

@ -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…
Cancel
Save