private AStarMarkerPathFinder(PathRequest pathRequest, int checksPerFrame, int pathfinderIndex)
        {
            _pathRequest = pathRequest;

            _checksPerFrame = checksPerFrame;

            _totalChecks = 0;

            _path = new List <PathfindingMarker>();

            _markerNodeDictionary = new Dictionary <PathfindingMarker, Node>();

            OpenList    = new List <Node>();
            _closedList = new List <Node>();

            PathfinderIndex = pathfinderIndex;

            // Logging.Log("New instance of AStarMarkerPathFinder was constructed!");
        }
 public static AStarMarkerPathFinder CreateInstance(PathRequest pathRequest, int checksPerFrame, int pathfinderIndex)
 {
     return(new AStarMarkerPathFinder(pathRequest, checksPerFrame, pathfinderIndex));
 }