updated javaodoc Siedler
This commit is contained in:
parent
1b6983dace
commit
0386d43529
|
@ -5,6 +5,8 @@ import java.util.Random;
|
|||
|
||||
/**
|
||||
* This Class manages the game process and contains the Main Method which creates and starts a new Parser and a new Game.
|
||||
*
|
||||
* @author Leonardo Brandeberger, Roman Schenk
|
||||
*/
|
||||
public class Siedler {
|
||||
/**
|
||||
|
@ -29,7 +31,7 @@ public class Siedler {
|
|||
boolean diceThrown = false;
|
||||
while (running) {
|
||||
Config.Faction currentPlayerFaction = game.getCurrentPlayerFaction();
|
||||
parser.displayGameboard(game.getBoard().getTextView()); //TODO Every turn or separate command?
|
||||
parser.displayGameboard(game.getBoard().getTextView());
|
||||
parser.playerTurn(currentPlayerFaction);
|
||||
if (!diceThrown) {
|
||||
throwDice(parser, game);
|
||||
|
|
Loading…
Reference in New Issue