diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-05-23 00:57:47 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-05-23 00:57:47 -0400 |
commit | e246c26e4b630fce269a90514185972703973fea (patch) | |
tree | b316e1262f1d1f57369fb07b1a1d72b7475ad2eb /src/gui/DebugMenu.java | |
parent | 931e9b6410ee40551237d9956caeeb164adf98ba (diff) | |
download | NPEhero-e246c26e4b630fce269a90514185972703973fea.tar.gz NPEhero-e246c26e4b630fce269a90514185972703973fea.tar.bz2 NPEhero-e246c26e4b630fce269a90514185972703973fea.zip |
make leaderboard add button work
Diffstat (limited to '')
-rw-r--r-- | src/gui/DebugMenu.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gui/DebugMenu.java b/src/gui/DebugMenu.java index 83857b8..a2ef761 100644 --- a/src/gui/DebugMenu.java +++ b/src/gui/DebugMenu.java @@ -31,19 +31,11 @@ public class DebugMenu wallpaperTest3.setText("wallpaper pico"); wallpaperTest3.setOnAction(e -> Driver.setBackground("assets/pico.png")); - Button testfinish = new Button(); - testfinish.setText("launch game end"); - //create a sample level for testing - Level temp = new Level("Title", "artist"); - Difficulty temp2 = new Difficulty(); - temp2.title = "Easy"; - testfinish.setOnAction(e -> Driver.setMenu(new GameOver(temp, temp2, new Settings(), 300))); - Button testVol = new Button(); testVol.setText("print volumes"); testVol.setOnAction(e -> System.out.println("sfx:"+Driver.settingsController.effectsVol+" msc:"+Driver.settingsController.musicVol)); - primaryPane.getChildren().addAll(wallpaperTest,wallpaperTest2,wallpaperTest3,testfinish,testVol); + primaryPane.getChildren().addAll(wallpaperTest,wallpaperTest2,wallpaperTest3,testVol); Scene primaryScene = new Scene(primaryPane); primaryStage.setScene(primaryScene); |