Пример #1
0
        /// <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);
        }
Пример #2
0
 /// <summary>
 /// Unregisters a path planner petition for search requests
 /// </summary>
 /// <param name="planner"></param>
 public void Unregister(PathPlanner <T> planner)
 {
     searchRequests.Remove(planner);
 }