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