moved handleDiceThrow7 in Player.java
This commit is contained in:
@@ -146,4 +146,16 @@ public class Player {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void handleDiceThrow7() {
|
||||
int countResources = 0;
|
||||
for(Config.Resource resource : resources.keySet()){
|
||||
countResources += resources.get(resource);
|
||||
}
|
||||
if(countResources > 7){
|
||||
int newCountResources = countResources / 2;
|
||||
ArrayList<Config.Resource> resourceArrayList = new ArrayList<>();
|
||||
//for(Resource resource : ) todo complete
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user