Fixed grammar error in method displayPlayerResource Stock.

This commit is contained in:
Leonardo Brandenberger 2021-12-03 08:32:51 +01:00
parent d749838600
commit 57649df6ba
1 changed files with 3 additions and 5 deletions

View File

@ -25,10 +25,10 @@ public class Parser {
textTerminal.println(gameboard); textTerminal.println(gameboard);
} }
public void displayPlayerResourceStock(HashMap<Config.Resource, Integer> curruntPlayerResource){ public void displayPlayerResourceStock(HashMap<Config.Resource, Integer> currentPlayerResource){
textTerminal.println("You own the follwing Resources"); textTerminal.println("You own the follwing Resources");
for(Config.Resource resource : curruntPlayerResource.keySet()){ for(Config.Resource resource : currentPlayerResource.keySet()){
textTerminal.println(resource.name() + ":" + curruntPlayerResource.get(resource)); textTerminal.println(resource.name() + ":" + currentPlayerResource.get(resource));
} }
} }
@ -52,8 +52,6 @@ public class Parser {
public void thrownDices(int number){ public void thrownDices(int number){
textTerminal.println ("Dices have been thrown, the combined value is: " + number); textTerminal.println ("Dices have been thrown, the combined value is: " + number);
} }
public void playerTurn(Config.Faction faction) { public void playerTurn(Config.Faction faction) {