/// <summary> /// Registers a path planner petition for search requests /// </summary> /// <param name="planner"></param> public void Register(PathPlanner <T> planner) { if (searchRequests.Contains(planner) == true) { return; } searchRequests.Add(planner); }
/// <summary> /// Unregisters a path planner petition for search requests /// </summary> /// <param name="planner"></param> public void Unregister(PathPlanner <T> planner) { searchRequests.Remove(planner); }