aboutsummaryrefslogtreecommitdiff
path: root/src/gui/LevelSurround.java
diff options
context:
space:
mode:
authorZach Jordan <zxjordan5@gmail.com>2023-06-05 08:38:00 -0400
committerZach Jordan <zxjordan5@gmail.com>2023-06-05 08:38:00 -0400
commitb6826c6ba281366efc60e89d73d3b6f81d4f2b80 (patch)
tree4d4dc505eb71cd0306fc07b44928eec3f152572c /src/gui/LevelSurround.java
parent649bb51ed3d7a55fd136b511a96e008298db5c7b (diff)
parentfc23e12aa682298a6845d0085f1d39dae1d9c5b6 (diff)
downloadNPEhero-b6826c6ba281366efc60e89d73d3b6f81d4f2b80.tar.gz
NPEhero-b6826c6ba281366efc60e89d73d3b6f81d4f2b80.tar.bz2
NPEhero-b6826c6ba281366efc60e89d73d3b6f81d4f2b80.zip
Merge branch 'main' of https://gitlab.sowgro.net/guitarheros/guitarhero
Diffstat (limited to 'src/gui/LevelSurround.java')
-rw-r--r--src/gui/LevelSurround.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/LevelSurround.java b/src/gui/LevelSurround.java
index c89ef6d..3739879 100644
--- a/src/gui/LevelSurround.java
+++ b/src/gui/LevelSurround.java
@@ -35,15 +35,12 @@ public class LevelSurround extends Pane
exit.setText("Back");
exit.setOnAction(e -> {
Driver.setMenu(prev);
- Driver.menuFx.play("src/assets/MenuBackward.wav");
+ Driver.soundController.playSfx("backward");
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);