fixed minor bug in Bank class
This commit is contained in:
parent
5eece3125b
commit
79a0b9175e
|
@ -2,10 +2,10 @@ package ch.zhaw.catan;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
public class Bank {
|
public class Bank {
|
||||||
private HashMap<Config.Resource, Integer> resources;
|
private HashMap<Config.Resource, Integer> resources = new HashMap<>();
|
||||||
|
|
||||||
public Bank(){
|
public Bank(){
|
||||||
resources.putAll(Config.INITIAL_RESOURCE_CARDS_BANK);
|
resources.putAll(Config.INITIAL_RESOURCE_CARDS_BANK);
|
||||||
|
|
Loading…
Reference in New Issue