public static Move CreateEnPassantMove(Pawn pawn, Position newPosition, Position capturePosition) { var enPassant = new EnPassantMove(pawn, capturePosition, newPosition); return(new Move(enPassant)); }
public Move(EnPassantMove enPassant) { EnPassant = enPassant; Type = MoveType.EnPassant; }