Skip to content
Snippets Groups Projects
Commit 23deab28 authored by Karl Aaron Rudkowski's avatar Karl Aaron Rudkowski
Browse files

options

parent 61081550
No related branches found
No related tags found
No related merge requests found
......@@ -50,8 +50,8 @@ public class OptionsUI {
x = main.WIDTH/2 - optionsBackgroundTexture.getWidth()/2;
y = main.HEIGHT/2 - optionsBackgroundTexture.getHeight()/2;
continueButton = new ContinueButton(x+10, y+20, 10, 10, this);
mainMenuButton = new MainMenuButton(x+10, y+50, 10, 10, main); //TODO whxy
continueButton = new ContinueButton(x+220, y+220, 128, 24, this);
mainMenuButton = new MainMenuButton(x+220, y+270, 128, 24, main);
stage.addActor(continueButton);
stage.addActor(mainMenuButton);
......@@ -72,9 +72,9 @@ public class OptionsUI {
*/
public void disposeOptionsUI() {
optionsBackgroundTexture.dispose();
game.deleteOptions();
continueButton.remove();
mainMenuButton.remove();
game.deleteOptions();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment