Siedler Class minor bug fixes
This commit is contained in:
parent
6e1c06f769
commit
c387420ca8
|
@ -1,15 +1,8 @@
|
|||
package ch.zhaw.catan;
|
||||
|
||||
import org.beryx.textio.TextIO;
|
||||
import org.beryx.textio.TextIoFactory;
|
||||
import org.beryx.textio.TextTerminal;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Random;
|
||||
|
||||
import static ch.zhaw.catan.Command.*;
|
||||
import static ch.zhaw.catan.Command.QUIT;
|
||||
|
||||
public class Siedler {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@ -26,7 +19,7 @@ public class Siedler {
|
|||
throwDice(game, parser);
|
||||
diceThrown = true;
|
||||
}
|
||||
parser.displayPlayerResourceStock(game.getCurruntPlayerResource());
|
||||
parser.displayPlayerInfo(game.getCurrentPlayerResource(),1);
|
||||
switch (parser.getAction()) {
|
||||
case NEXTPLAYER:
|
||||
Config.Faction winner = game.getWinner();
|
||||
|
|
Loading…
Reference in New Issue