Super IA (#5)
Reviewed-on: #5 Co-authored-by: Persson-dev <sim16.prib@gmail.com> Co-committed-by: Persson-dev <sim16.prib@gmail.com>
This commit was merged in pull request #5.
This commit is contained in:
@@ -55,6 +55,8 @@ public class PromoteCommand extends PlayerCommand {
|
||||
this.oldPawn = pawn;
|
||||
board.pieceComes(createPiece(this.promoteType, pawn.getColor()), this.pieceCoords);
|
||||
|
||||
outputSystem.onPawnPromoted(this.promoteType);
|
||||
|
||||
return CommandResult.Moved;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user