Example #1
0
        /// <summary>
        /// Sets the QueuedDestinations to be the queue of Points in a path.
        /// </summary>
        /// <param name="path"></param>
        protected void LoadPathIntoQueuedDestinations(Path path)
        {
            QueuedDestinations.Clear();

            foreach (Point p in path.PointsTraveled())
                QueuedDestinations.Enqueue(p);
        }