예제 #1
0
 public Rook(bool isWhite, Func <string, Cell> getCell, string coordinates, King enemyKing) : base(isWhite, coordinates, getCell)
 {
     this.getCell     = getCell;
     this.TypeOfPiece = PieceType.Rook;
     this.EnemyKing   = enemyKing;
 }
예제 #2
0
 public Bishop(bool isWhite, Func <string, Cell> getCell, string coordinates, King enemyKing) : base(isWhite, coordinates, getCell)
 {
     this.EnemyKing   = enemyKing;
     this.TypeOfPiece = PieceType.Bishop;
 }