31 lines
583 B
Java
31 lines
583 B
Java
public class GameController {
|
|
|
|
|
|
public void startOnlineGame() {
|
|
// fuck you Luca and Ole von Florian und nicht von Florian
|
|
}
|
|
|
|
public void startLocalGame(HumanPlayer player, AiPlayer enemy, int size) {
|
|
//Player initialisieren Board
|
|
player.setBoardSize(size);
|
|
enemy.setBoardSize(size);
|
|
|
|
// Schiffe setzen
|
|
// für player durch UI
|
|
|
|
/*
|
|
* Todo
|
|
* enemy.setships();
|
|
*/
|
|
|
|
boolean condition = true;
|
|
while(condition) {
|
|
//Gameloop bis Sieger
|
|
//WIP
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} |