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.
|
* 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 {
|
public class Siedler {
|
||||||
/**
|
/**
|
||||||
|
@ -29,7 +31,7 @@ public class Siedler {
|
||||||
boolean diceThrown = false;
|
boolean diceThrown = false;
|
||||||
while (running) {
|
while (running) {
|
||||||
Config.Faction currentPlayerFaction = game.getCurrentPlayerFaction();
|
Config.Faction currentPlayerFaction = game.getCurrentPlayerFaction();
|
||||||
parser.displayGameboard(game.getBoard().getTextView()); //TODO Every turn or separate command?
|
parser.displayGameboard(game.getBoard().getTextView());
|
||||||
parser.playerTurn(currentPlayerFaction);
|
parser.playerTurn(currentPlayerFaction);
|
||||||
if (!diceThrown) {
|
if (!diceThrown) {
|
||||||
throwDice(parser, game);
|
throwDice(parser, game);
|
||||||
|
|
Loading…
Reference in New Issue