Esempio n. 1
0
 private SimRoute FindArc(SimWaypoint s, SimWaypoint e)
 {
     lock (SimRoutes) for (int i = SimRoutes.Count; i != 0;)
         {
             SimRoute sr = SimRoutes[--i];
             if (sr.IsSame(s, e))
             {
                 return(sr);
             }
         }
     return(null);
 }