Set Variable citiesToUse in Constructor of Player

This commit is contained in:
schrom01
2021-12-04 23:29:19 +01:00
parent 7752d6ff7e
commit 51e61a8e00
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ public class Player {
this.faction = faction;
roadsToUse = Config.Structure.ROAD.getStockPerPlayer();
settlementsToUse = Config.Structure.SETTLEMENT.getStockPerPlayer();
citiesToUse = Config.Structure.CITY.getStockPerPlayer();
//Ressourcen initialisiern
resources = new HashMap<>();
for(Config.Resource resource : Config.Resource.values()) {