// Scoreboard menu --------------------------------------------
-Scoreboard_menu::Scoreboard_menu() : /*texture{},*/ texture2{}, /*sprite{},*/ menu{false}, exit_game{false},
+Scoreboard_menu::Scoreboard_menu() : texture{}, texture2{}, sprite{}, menu{false}, exit_game{false},
startmenutext{}, quittext{}, mouse_r{}, mouse_l{}, font{}, menu_index{1}
{
texture.loadFromFile("assets/scoreboard.png");
void render(sf::RenderWindow& window) const override;
void handle_input(sf::Event& event) override;
private:
- /*sf::Texture texture;*/
+ sf::Texture texture;
sf::Texture texture2;
- /*sf::Sprite sprite;*/
+ sf::Sprite sprite;
sf::Sprite mouse_l;
sf::Sprite mouse_r;
sf::Text startmenutext;