using System.Collections.Generic; namespace Gley.TrafficSystem.Internal { public class IntersectionEvents { /// /// Triggered when active intersections modify /// /// public delegate void ActiveIntersectionsChanged(List activeIntersections); public static event ActiveIntersectionsChanged onActiveIntersectionsChanged; public static void TriggetActiveIntersectionsChangedEvent(List activeIntersections) { if (onActiveIntersectionsChanged != null) { onActiveIntersectionsChanged(activeIntersections); } } } }