Exemplo n.º 1
0
 /// <summary>
 /// Remove a component from the manager if it exists in the master dictionary.
 /// </summary>
 public static void RemoveComponent(WaypointComponent_cl waypoint)
 {
     if (mWaypoints.Contains(waypoint))
     {
         mWaypoints.Remove(waypoint);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add a Waypoint to the master list of all components
 /// </summary>
 public static void AddWaypoint(WaypointComponent_cl newWaypoint)
 {
     mWaypoints.Add(newWaypoint);
 }