created Class Siedler
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package ch.zhaw.catan;
|
||||
|
||||
import org.beryx.textio.TextIO;
|
||||
import org.beryx.textio.TextIoFactory;
|
||||
import org.beryx.textio.TextTerminal;
|
||||
|
||||
public class Siedler {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
//Spiel erstellen
|
||||
SiedlerGame game = new SiedlerGame(0, 0);
|
||||
|
||||
//Spielfeld ausgeben
|
||||
TextIO textIO = TextIoFactory.getTextIO();
|
||||
TextTerminal<?> textTerminal = textIO.getTextTerminal();
|
||||
textTerminal.println(game.getBoard().getTextView());
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user