Beispiel #1
0
 public CastlingMove(Piece king, ISquare from, ISquare to, Piece rook,ISquare castlingRookFrom, ISquare castlingRookTo,int ply)
     : base(king, from, to, null,ply)
 {
     CastlingRook = rook;
     CastlingRookFrom = castlingRookFrom;
     CastlingRookTo = castlingRookTo;
 }
Beispiel #2
0
 public NormalMove(Piece piece, ISquare from, ISquare to, Piece capture, int ply)
 {
     Piece = piece;
     Ply = ply;
     _from = from;
     _to = to;
     _capture = capture;
 }
Beispiel #3
0
 public PawnDoubleMove(Piece piece, ISquare from, ISquare to, int ply)
     : base(piece, from, to, null, ply)
 {
 }
Beispiel #4
0
 public EnPassantMove(Piece piece, ISquare from, ISquare to, Piece capture, int ply)
     : base(piece, @from, to, capture,ply)
 {
 }