SettingsMenu angepasst

This commit is contained in:
Yvonne Schmidt
2024-11-18 23:04:09 +01:00
parent 9c0172b413
commit 8e01fa3192
2 changed files with 7 additions and 2 deletions

View File

@@ -44,13 +44,13 @@ public class SettingsMenu extends Dialog {
Container effectSoundContainer = settingsContainer.addChild(new Container());
effectSoundContainer.addChild(new Label("Effekt Sound", new ElementId("label")));
effectSoundContainer.addChild(new Slider());
effectSoundContainer.addChild(new Checkbox("Aktivieren")).setChecked(true);
effectSoundContainer.addChild(new Checkbox("Soundeffekte an")).setChecked(true);
// Hintergrundmusik: Slider und Checkbox
Container backgroundMusicContainer = settingsContainer.addChild(new Container());
backgroundMusicContainer.addChild(new Label("Hintergrund Musik", new ElementId("label")));
backgroundMusicContainer.addChild(new Slider());
backgroundMusicContainer.addChild(new Checkbox("Aktivieren")).setChecked(true);
backgroundMusicContainer.addChild(new Checkbox("Musik an")).setChecked(true);
// Beenden-Button
Button quitButton = settingsContainer.addChild(new Button("Beenden", new ElementId("menu-button")));