Fix Method soutDistribution in SiedlerGameTest
This commit is contained in:
parent
470666ed75
commit
7e9fa8e6a8
|
@ -229,15 +229,17 @@ public class SiedlerGameTest {
|
|||
public void TestGameAfterSetupPhase() {
|
||||
SiedlerGame game = gameAfterSetupPhase();
|
||||
|
||||
System.out.println(game.getBoard().getTextView());
|
||||
|
||||
throwDiceSeveralTimes(game, 5, 5);
|
||||
throwDiceSeveralTimes(game, 5, 5);
|
||||
throwDiceSeveralTimes(game, 5, 5);
|
||||
throwDiceSeveralTimes(game, 5, 5);
|
||||
throwDiceSeveralTimes(game, 5, 5);
|
||||
|
||||
game.switchToNextPlayer();
|
||||
//game.switchToNextPlayer();
|
||||
|
||||
throwDiceSeveralTimes(game, 6, 5);
|
||||
//throwDiceSeveralTimes(game, 6, 5);
|
||||
//throwDiceSeveralTimes(game, 6, 5);
|
||||
//throwDiceSeveralTimes(game, 6, 5);
|
||||
//throwDiceSeveralTimes(game, 6, 5);
|
||||
|
@ -259,9 +261,9 @@ public class SiedlerGameTest {
|
|||
//TEMPORARY METHOD, WILL BE REMOVED SOON
|
||||
private static void soutDistribution(SiedlerGame game) {
|
||||
System.out.println("\n\nVerteilung \n\n");
|
||||
for (Config.Faction faction: game.getPlayerFactions()) {
|
||||
for (int i = 0 ; i < game.getPlayerFactions().size(); i++) {
|
||||
HashMap<Config.Resource, Integer> resources = game.getCurrentPlayerResource();
|
||||
System.out.println(faction.toString() + "\n");
|
||||
System.out.println(game.getCurrentPlayerFaction().toString() + "\n");
|
||||
System.out.println(" BRICK " + resources.get(Config.Resource.BRICK).toString());
|
||||
System.out.println(" GRAIN " + resources.get(Config.Resource.GRAIN));
|
||||
System.out.println(" LUMBER " + resources.get(Config.Resource.LUMBER));
|
||||
|
|
Loading…
Reference in New Issue