diff --git a/src/ch/zhaw/catan/Parser.java b/src/ch/zhaw/catan/Parser.java index 86d9f9a..6421d23 100644 --- a/src/ch/zhaw/catan/Parser.java +++ b/src/ch/zhaw/catan/Parser.java @@ -25,10 +25,10 @@ public class Parser { textTerminal.println(gameboard); } - public void displayPlayerResourceStock(HashMap curruntPlayerResource){ + public void displayPlayerResourceStock(HashMap currentPlayerResource){ textTerminal.println("You own the follwing Resources"); - for(Config.Resource resource : curruntPlayerResource.keySet()){ - textTerminal.println(resource.name() + ":" + curruntPlayerResource.get(resource)); + for(Config.Resource resource : currentPlayerResource.keySet()){ + textTerminal.println(resource.name() + ":" + currentPlayerResource.get(resource)); } } @@ -52,8 +52,6 @@ public class Parser { public void thrownDices(int number){ textTerminal.println ("Dices have been thrown, the combined value is: " + number); - - } public void playerTurn(Config.Faction faction) {