mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Removed souts for debugging
This commit is contained in:
@@ -40,7 +40,6 @@ public class GenericGameController<T extends TurnBasedGame<T>> implements GameCo
|
||||
private final ThreadBehaviour gameThreadBehaviour;
|
||||
|
||||
// TODO: Change gameType to automatically happen with either dependency injection or something else.
|
||||
// TODO: Make visualisation of moves a behaviour.
|
||||
public GenericGameController(GameCanvas<T> canvas, T game, ThreadBehaviour gameThreadBehaviour, String gameType) {
|
||||
logger.info("Creating: " + this.getClass());
|
||||
|
||||
|
||||
@@ -57,7 +57,6 @@ public class LocalMultiplayerView extends ViewWidget {
|
||||
|
||||
switch (information.type) {
|
||||
case TICTACTOE:
|
||||
System.out.println("TicTacToe");
|
||||
if (information.players[0].isHuman) {
|
||||
players[0] = new LocalPlayer<>(information.players[0].name);
|
||||
} else {
|
||||
@@ -68,7 +67,6 @@ public class LocalMultiplayerView extends ViewWidget {
|
||||
} else {
|
||||
players[1] = new ArtificialPlayer<>(new TicTacToeAIR(), information.players[1].name);
|
||||
}
|
||||
System.out.println(Arrays.toString(players));
|
||||
if (AppSettings.getSettings().getTutorialFlag() && AppSettings.getSettings().getFirstTTT()) {
|
||||
new ShowEnableTutorialWidget(
|
||||
() -> new TicTacToeTutorialWidget(() -> {
|
||||
|
||||
Reference in New Issue
Block a user