From 270129bc973c023b4012cbf8a5b880e4090317ed Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Sat, 23 Nov 2024 17:58:56 +0100 Subject: [PATCH] fixed typo --- .../java/pp/monopoly/client/gui/popups/FoodFieldCard.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/FoodFieldCard.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/FoodFieldCard.java index 4cb01a8..cf93a33 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/FoodFieldCard.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/FoodFieldCard.java @@ -14,7 +14,6 @@ import com.simsilica.lemur.style.ElementId; import groovyjarjarantlr4.v4.parse.ANTLRParser.prequelConstruct_return; import pp.dialog.Dialog; import pp.monopoly.client.MonopolyApp; -import pp.monopoly.model.fields.BuildingProperty; import pp.monopoly.model.fields.FoodField; /** @@ -55,9 +54,9 @@ public class FoodFieldCard extends Dialog { // Effekt-Sound: Slider und Checkbox Container propertyValuesContainer = settingsContainer.addChild(new Container()); - propertyValuesContainer.addChild(new Label("„Preis:" + field.getPrice(), new ElementId("label-Text"))); + propertyValuesContainer.addChild(new Label("„Preis: " + field.getPrice() + " EUR", new ElementId("label-Text"))); propertyValuesContainer.addChild(new Label("„Miete:" + a, new ElementId("label-Text")));//TODO Variable hier einsetzen - propertyValuesContainer.addChild(new Label("„Hypothek:" + field.getHypo(), new ElementId("label-Text"))); + propertyValuesContainer.addChild(new Label("„Hypothek: " + field.getHypo() + " EUR", new ElementId("label-Text"))); propertyValuesContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); // Beenden-Button