solution for exercise 10

added BackgroundMusic which is being handled in BackgroundMusic.java
changed the menu to incoporate volume controls for the music
This commit is contained in:
Hanno Fleischer hanno.fleischer@unibw.de
2024-10-03 17:39:54 +02:00
parent d15f1a3f5f
commit d471f524d0
9 changed files with 192 additions and 12 deletions

View File

@@ -31,6 +31,8 @@ menu.return-to-game=Return to game
menu.sound-enabled=Sound switched on
menu.map.load=Load map from file...
menu.map.save=Save map in file...
menu.music.toggle=Toggle the music
menu.volume=Volume
label.file=File:
label.connecting=Connecting...
dialog.error=Error

View File

@@ -31,6 +31,8 @@ menu.return-to-game=Zurück zum Spiel
menu.sound-enabled=Sound eingeschaltet
menu.map.load=Karte von Datei laden...
menu.map.save=Karte in Datei speichern...
menu.music.toggle=An/Ausschalten der Musik
menu.volume=Lautstärke
label.file=Datei:
label.connecting=Verbindung wird aufgebaut...
dialog.error=Fehler