|
|
@ -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; |
|
|
|