mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-08-01 06:37:39 +02:00
fixed testing env
This commit is contained in:
@@ -18,6 +18,7 @@ import static pp.monopoly.Resources.lookup;
|
||||
import pp.monopoly.client.GameMusic;
|
||||
import pp.monopoly.client.GameSound;
|
||||
import pp.monopoly.client.MonopolyApp;
|
||||
import pp.monopoly.message.client.NotificationAnswer;
|
||||
import pp.dialog.Dialog;
|
||||
import pp.dialog.StateCheckboxModel;
|
||||
import pp.monopoly.notification.Sound;
|
||||
@@ -60,6 +61,7 @@ public class SettingsMenu extends Dialog {
|
||||
|
||||
addChild(new Button("Zurück zum Spiel", new ElementId("button"))).addClickCommands(s -> ifTopDialog(() -> {
|
||||
this.close(); // Close the StartMenu dialog
|
||||
app.getGameLogic().send(new NotificationAnswer("hack"));
|
||||
app.getGameLogic().playSound(Sound.BUTTON);
|
||||
}));
|
||||
addChild(new Button("Beenden", new ElementId("button"))).addClickCommands(s -> ifTopDialog(() -> {
|
||||
|
Reference in New Issue
Block a user