Verschiedene Popups kommentiert und richtig benannt

This commit is contained in:
Simon Wilkening 2024-11-29 07:21:28 +01:00
parent fd178eee43
commit b05eabbbf8
3 changed files with 3 additions and 3 deletions

View File

@ -274,7 +274,7 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga
//logik zum wechselnden erscheinen und verschwinden beim drücken von B //TODO süäter entfernen
private void handleB(boolean isPressed) {
if (isPressed) {
Dialog tmp = new SellHouse(this);
Dialog tmp = new TimeOut(this);
tmp.open();
}
}

View File

@ -49,7 +49,7 @@ public class Bankrupt extends Dialog {
backgroundContainer.setPreferredSize(bankruptContainer.getPreferredSize().addLocal(padding, padding, 0));
// Titel
Label gateFieldTitle = bankruptContainer.addChild(new Label("Vorsicht !", new ElementId("warning-label")));
Label gateFieldTitle = bankruptContainer.addChild(new Label("Vorsicht !", new ElementId("warning-title")));
gateFieldTitle.setFontSize(48);
gateFieldTitle.setColor(ColorRGBA.Black);

View File

@ -52,7 +52,7 @@ public class TimeOut extends Dialog {
backgroundContainer.setPreferredSize(timeOutContainer.getPreferredSize().addLocal(padding, padding, 0));
// Titel
Label gateFieldTitle = timeOutContainer.addChild(new Label("Vorsicht !", new ElementId("warining-label")));
Label gateFieldTitle = timeOutContainer.addChild(new Label("Vorsicht !", new ElementId("warning-title")));
gateFieldTitle.setFontSize(48);
gateFieldTitle.setColor(ColorRGBA.Black);