Road.java and changes SiedlerGame buildRoad Method
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
/out/
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user