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

@@ -23,6 +23,10 @@ public class MoveCommand extends PlayerCommand {
return move;
}
public Piece getDeadPiece() {
return deadPiece;
}
@Override
public CommandResult execute(Game game, GameListener outputSystem) {
CommandResult result = processMove(game, outputSystem);
@@ -98,5 +102,4 @@ public class MoveCommand extends PlayerCommand {
outputSystem.onPromotePawn(pawnPos);
return true;
}
}