예제 #1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="wl"></param>
 public WayPointList(WayPointList wl)
 {
     wayFinished = wl.wayFinished;
     wlDirection = wl.wlDirection;
     reset();
     for (int i = 0; i < wl.lst.Count; i++)
     {
         add(new WayPoint(wl[i]));
     }
 }
예제 #2
0
 public RC_posWaypointList(WayPointList wListQ)
 {
     wList = wListQ;
     //wList.wayFinished = 0; // typically you want this to re-loop back to start
 }