Fixed grammar error in method displayPlayerResource Stock.
This commit is contained in:
parent
d749838600
commit
57649df6ba
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue