예제 #1
0
        public static Move CreateEnPassantMove(Pawn pawn, Position newPosition, Position capturePosition)
        {
            var enPassant = new EnPassantMove(pawn, capturePosition, newPosition);

            return(new Move(enPassant));
        }
예제 #2
0
 public Move(EnPassantMove enPassant)
 {
     EnPassant = enPassant;
     Type      = MoveType.EnPassant;
 }