Road.java and changes SiedlerGame buildRoad Method
This commit is contained in:
parent
8b61927eae
commit
0db6be32b6
|
@ -0,0 +1 @@
|
||||||
|
/out/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue