public PathSearcher(EHeuristicTypes heuristicType, bool allowDiagonal) { this._heuristicCalculator = new HeuristicCalculator(heuristicType); this._allowDiagonal = allowDiagonal; }
/// <summary> /// Default constructor needs a hueristic, as we don't want it to change half way through /// </summary> /// <param name="heuristicType"></param> public HeuristicCalculator(EHeuristicTypes heuristicType) { this._hueristicType = heuristicType; }