small changes - Alma och Malin
authorAlma Dejus <almde515@student.liu.se>
Tue, 28 Nov 2023 12:42:11 +0000 (13:42 +0100)
committerAlma Dejus <almde515@student.liu.se>
Tue, 28 Nov 2023 12:42:11 +0000 (13:42 +0100)
src/Menus.cc
src/States.h

index 589dc5872f4371c09dd51460006ad64a4545d665..1e9ad4c29319e5b3d058d1e87655aa247254d81e 100644 (file)
@@ -338,7 +338,7 @@ void Pause_menu::handle_input(sf::Event& event)
 
 
 // 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");
index c8ab49fa99f709bc72f65e3af6326fed1fe492bc..978ed843eb73244c651fad2144ace8847e485056 100644 (file)
@@ -125,9 +125,9 @@ public:
     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;