mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-19 00:06:16 +01:00
price settings
This commit is contained in:
parent
831974cb63
commit
0acb23ab8b
@ -231,7 +231,7 @@ public class SellHouse extends Dialog {
|
||||
|
||||
int cost = 0;
|
||||
for (String s : selectedProperties) {
|
||||
cost += ((BuildingProperty) app.getGameLogic().getBoardManager().getFieldByName(s)).getHousePrice();
|
||||
cost += ((BuildingProperty) app.getGameLogic().getBoardManager().getFieldByName(s)).getHousePrice() / 2;
|
||||
}
|
||||
|
||||
String display = String.join(" | ", selectedProperties);
|
||||
|
Loading…
Reference in New Issue
Block a user