Exemple #1
0
 public PieceMover(IMovementHistory history, IPiecePromoter piecePromoter,
                   ICastlingMover castlingMover, IEnPassantMover enPassantMover)
 {
     this.history        = history;
     this.piecePromoter  = piecePromoter;
     this.castlingMover  = castlingMover;
     this.enPassantMover = enPassantMover;
 }
Exemple #2
0
 public EnPassantMover(IMovementHistory history)
 {
     this.history = history;
 }
Exemple #3
0
 public CastlingMover(IMovementHistory history)
 {
     this.history = history;
 }
Exemple #4
0
 public PiecePromoter(IMovementHistory history)
 {
     this.history = history;
 }