diff --git a/.idea/misc.xml b/.idea/misc.xml index b573818..6bc01a8 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 797acea..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/ch/zhaw/catan/Settlement.java b/src/ch/zhaw/catan/Settlement.java index 6e11e5d..773324c 100644 --- a/src/ch/zhaw/catan/Settlement.java +++ b/src/ch/zhaw/catan/Settlement.java @@ -1,22 +1,8 @@ package ch.zhaw.catan; -import java.util.HashMap; - public class Settlement { - private HashMap buildCost; - private Config.Faction faction; public Settlement(Config.Faction faction) { - this.faction = faction; - buildCost = new HashMap<>(); - buildCost.put(Config.Resource.LUMBER,1); - buildCost.put(Config.Resource.BRICK,1); - buildCost.put(Config.Resource.GRAIN,1); - buildCost.put(Config.Resource.WOOL,1); + super(faction); } - - public HashMap getBuildCost() { - return buildCost; - } - }