Example #1
0
 public PathFindAlgo(IMazeSpecialElementsSeeker _pathFindAlgoBoundary, List <IMazeElement> _pathFromStartToEnd, IPathFinder _pathFinder, IMazeElementsPathFindParametersRestarter _mazeElementsPathFindParametersRestarter)
 {
     pathFindAlgoBoundary = _pathFindAlgoBoundary;
     pathFromStartToEnd   = _pathFromStartToEnd;
     pathFinder           = _pathFinder;
     mazeElementsPathFindParametersRestarter = _mazeElementsPathFindParametersRestarter;
 }
 public void Awake()
 {
     mazeElementsPathFindParametersRestarter = new MazeRestarter(planeBoundry);
     mazeInOutPoints = GetComponent <MazeInOutPointsBoundary>();
 }