aboutsummaryrefslogtreecommitdiff
path: root/src/devmenu
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-06-08 01:05:44 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-06-08 01:05:44 -0400
commit17d481b141eefdc378ad6b7548d255aca3a5ad9c (patch)
treeac77f3f228e1f1b3930ff5e748760838f5c4407f /src/devmenu
parent6e9e025c72c88e113f8ba4dac1c21ffe56ba23ef (diff)
downloadNPEhero-17d481b141eefdc378ad6b7548d255aca3a5ad9c.tar.gz
NPEhero-17d481b141eefdc378ad6b7548d255aca3a5ad9c.tar.bz2
NPEhero-17d481b141eefdc378ad6b7548d255aca3a5ad9c.zip
add level, fix a few things, add jar stuff
Diffstat (limited to 'src/devmenu')
-rw-r--r--src/devmenu/LevelList.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devmenu/LevelList.java b/src/devmenu/LevelList.java
index 7087472..f9b4207 100644
--- a/src/devmenu/LevelList.java
+++ b/src/devmenu/LevelList.java
@@ -15,8 +15,6 @@ import main.LevelController;
public class LevelList
{
- Stage primaryStage = new Stage();
-
/*
* this class is a layout class, most of its purpose is to place UI elements like Buttons within Panes like VBoxes.
* the creation of these UI elements are mostly not commented due to their repetitive and self explanatory nature.
@@ -65,7 +63,8 @@ public class LevelList
VBox main = new VBox();
main.getChildren().addAll(levels,buttons,newLevelBox);
- Scene scene = new Scene(main);
+ Scene scene = new Scene(main, 400, 400);
+ Stage primaryStage = new Stage();
primaryStage.setScene(scene);
primaryStage.show();
}