Road.java and changes SiedlerGame buildRoad Method
This commit is contained in:
1 parent
8b61927eae
commit
0db6be32b6
18 files changed
+14
No files matched your search
@@ -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