aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-06-05 08:29:29 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-06-05 08:29:29 -0400
commitfc23e12aa682298a6845d0085f1d39dae1d9c5b6 (patch)
tree4c6ab1374d9baf4926c6fe8f917f3c17fee8e779
parente444503c77120908126de325d86b32bd3fb327e0 (diff)
downloadNPEhero-fc23e12aa682298a6845d0085f1d39dae1d9c5b6.tar.gz
NPEhero-fc23e12aa682298a6845d0085f1d39dae1d9c5b6.tar.bz2
NPEhero-fc23e12aa682298a6845d0085f1d39dae1d9c5b6.zip
remove pause button
-rw-r--r--src/gui/LevelSurround.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/LevelSurround.java b/src/gui/LevelSurround.java
index 8f7d831..3739879 100644
--- a/src/gui/LevelSurround.java
+++ b/src/gui/LevelSurround.java
@@ -39,11 +39,8 @@ public class LevelSurround extends Pane
game.cancel();
});
- Button pause = new Button();
- pause.setText("Pause");
-
HBox buttonBox = new HBox();
- buttonBox.getChildren().addAll(exit,pause);
+ buttonBox.getChildren().addAll(exit);
buttonBox.setAlignment(Pos.TOP_LEFT);
buttonBox.setSpacing(10);