Rent/ReceivedRent text changed

This commit is contained in:
Simon Wilkening 2024-12-06 13:12:56 +01:00
parent 9be00ab848
commit 3c6e519e77
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ public class ReceivedRent extends Dialog {
// Rent message
Container textContainer = container.addChild(new Container());
textContainer.addChild(new Label("Du bekommst von Spieler " + playerName + " " + amount + " EUR Miete",
textContainer.addChild(new Label(playerName+ "zahlt dir " + amount + " EUR Miete",
new ElementId("label-Text")));
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));

View File

@ -107,7 +107,7 @@ public class Rent extends Dialog {
// Rent message
Container textContainer = container.addChild(new Container());
textContainer.addChild(new Label("Du musst Spieler " + playerName + " " + amount + " EUR Miete zahlen",
textContainer.addChild(new Label("Du musst " + amount + " EUR Miete an " + playerName + " zahlen",
new ElementId("label-Text")));
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));