aboutsummaryrefslogtreecommitdiff
path: root/src/gui/LevelSurround.java
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-06-05 00:34:16 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-06-05 00:34:16 -0400
commita14862a6bc0dbb1ae78cd4e2e4795d4194772583 (patch)
tree88db04cdcc76454ae0f0025a9249270fab45ee22 /src/gui/LevelSurround.java
parentd87a87aabde8b4011910dfed731362b7cf0b6b24 (diff)
downloadNPEhero-a14862a6bc0dbb1ae78cd4e2e4795d4194772583.tar.gz
NPEhero-a14862a6bc0dbb1ae78cd4e2e4795d4194772583.tar.bz2
NPEhero-a14862a6bc0dbb1ae78cd4e2e4795d4194772583.zip
rewrote everything related to sound
Diffstat (limited to 'src/gui/LevelSurround.java')
-rw-r--r--src/gui/LevelSurround.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/LevelSurround.java b/src/gui/LevelSurround.java
index c89ef6d..8f7d831 100644
--- a/src/gui/LevelSurround.java
+++ b/src/gui/LevelSurround.java
@@ -35,7 +35,7 @@ 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();
});