fixed typo

This commit is contained in:
Johannes Schmelz 2024-11-23 17:58:56 +01:00
parent 62ec6f6bef
commit 270129bc97

View File

@ -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