Command refactor

This commit is contained in:
2025-04-13 12:29:47 +02:00
parent 9f44548843
commit a23c334994
11 changed files with 207 additions and 100 deletions

View File

@@ -50,8 +50,8 @@ public class NewGameCommand extends Command {
game.resetPlayerTurn();
outputSystem.gameStarted();
outputSystem.playerTurn(game.getPlayerTurn());
outputSystem.onGameStart();
outputSystem.onPlayerTurn(game.getPlayerTurn());
return CommandResult.NotMoved;
}