Commits

Filip Mravunac committed 976a884

Fixed loading button graphics on the main menu.

Comments (0)

Files changed (1)

     Layer *layer(new Layer("background.png", gScreen->w / 2,gScreen->h / 2));
     this->layer.push_back(layer);
 
-    Button *newgameButton(new NewGameButton("newgame.png", 130, 100));
+    Button *newgameButton(new NewGameButton("playbutton.png", 130, 100));
     this->buttons.push_back(newgameButton);
 
-    Button *optionsButton(new OptionsButton("options.png", 130, 160));
+    Button *optionsButton(new OptionsButton("optionsbutton.png", 130, 160));
     this->buttons.push_back(optionsButton);
 
-    Button *creditsButton(new CreditsButton("credits.png", 130, 220));
+    Button *creditsButton(new CreditsButton("creditsbutton.png", 130, 220));
     this->buttons.push_back(creditsButton);
 
-    Button *exitButton(new ExitButton("exit.png", 130, 335));
+    Button *exitButton(new ExitButton("exitbutton.png", 130, 335));
     this->buttons.push_back(exitButton);