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; }
public Bishop(bool isWhite, Func <string, Cell> getCell, string coordinates, King enemyKing) : base(isWhite, coordinates, getCell) { this.EnemyKing = enemyKing; this.TypeOfPiece = PieceType.Bishop; }