Road.java and changes SiedlerGame buildRoad Method

This commit is contained in:
Andrin Fassbind 2021-11-26 10:05:02 +01:00
parent 8b61927eae
commit 0db6be32b6
18 changed files with 14 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/out/

View File

@ -0,0 +1,13 @@
package ch.zhaw.catan;
import java.util.HashMap;
public class Road {
HashMap<Config.Resource,Integer> buildCost;
public Road() {
buildCost = new HashMap<>();
buildCost.put(Config.Resource.BRICK,1);
buildCost.put(Config.Resource.LUMBER,1);
}
}