very basic pgn export

This commit is contained in:
2025-04-14 11:56:19 +02:00
parent d8c927083a
commit 1a038a3de1
6 changed files with 180 additions and 7 deletions

View File

@@ -17,8 +17,12 @@ public class CommandExecutor {
}
public CommandExecutor(Game game) {
this(game, new GameDispatcher());
}
public CommandExecutor(Game game, GameDispatcher dispatcher) {
this.game = game;
this.dispatcher = new GameDispatcher();
this.dispatcher = dispatcher;
}
public synchronized CommandResult executeCommand(Command command) {