rename GameAdapter
All checks were successful
Linux arm64 / Build (push) Successful in 51s

This commit is contained in:
2025-05-06 11:53:26 +02:00
parent 271ff420a2
commit 58f02f681c
10 changed files with 17 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ import chess.ai.minimax.AlphaBetaAI;
import chess.ai.minimax.AlphaBetaConsolePrinter;
import chess.controller.CommandExecutor;
import chess.controller.commands.NewGameCommand;
import chess.controller.event.GameAdaptator;
import chess.controller.event.GameAdapter;
import chess.model.Color;
import chess.model.Game;
import chess.pgn.PgnExport;
@@ -31,7 +31,7 @@ public class SwingMain {
// Window window2 = new Window(ai2.getSimulation(), false);
// ai2.getSimulation().addListener(window2);
commandExecutor.addListener(new GameAdaptator(){
commandExecutor.addListener(new GameAdapter(){
@Override
public void onGameEnd() {
System.out.println(PgnExport.exportGame(game));