merging
authormalak585 <malak585@tlvm-4-3-3.ad.liu.se>
Tue, 28 Nov 2023 12:32:31 +0000 (13:32 +0100)
committermalak585 <malak585@tlvm-4-3-3.ad.liu.se>
Tue, 28 Nov 2023 12:32:31 +0000 (13:32 +0100)
1  2 
src/Menus.cc

diff --cc src/Menus.cc
index 6fc0b5bfcb2de834bc1c7cec7b7c72c18d69fef0,9fa2cf28b96d96afafa541fb13c3783962d7a574..589dc5872f4371c09dd51460006ad64a4545d665
@@@ -334,10 -338,12 +338,10 @@@ void Pause_menu::handle_input(sf::Event
  
  
  // Scoreboard menu --------------------------------------------
- Scoreboard_menu::Scoreboard_menu() : texture{}, texture2{}, sprite{}, menu{false}, exit_game{false}, 
-                                  scoreboardtext{}, firstplacetext{}, startmenutext{}, quittext{}, mouse_r{}, mouse_l{}, font{}, menu_index{1}
 -Scoreboard_menu::Scoreboard_menu() : /*texture{},*/ texture2{}, /*sprite{},*/ mouse_l{}, mouse_r{}, startmenutext{},
 -                                     quittext{}, font{}, exit_game{false}, menu{false}, menu_index{1}
++Scoreboard_menu::Scoreboard_menu() : /*texture{},*/ texture2{}, /*sprite{},*/ menu{false}, exit_game{false}, 
++                                 startmenutext{}, quittext{}, mouse_r{}, mouse_l{}, font{}, menu_index{1}
  {
 -    // Add background later
 -    /*
 -    texture.loadFromFile("assets/Pause_bild.png");
 +    texture.loadFromFile("assets/scoreboard.png");
      sprite.setTexture(texture);;
  
      sprite.setScale(S_SCALE_KOEFF, S_SCALE_KOEFF);