very basic pgn export
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user