public IntersectionToolbox(ArbiterRoadNetwork arn, RoadDisplay rd, Editor ed) { this.arn = arn; this.rd = rd; this.ed = ed; InitializeComponent(); }
void UnrollRequests() { if (playing == false && requestQueue.Count > 0) { NotifRequest re = requestQueue.Dequeue(); RoadDisplay g = Instantiate(prefab, transform); g.StartThing(Finished, re.header, re.content); playing = true; } }
/// <summary> /// Constructor /// </summary> /// <param name="arn"></param> /// <param name="rd"></param> /// <param name="ed"></param> public ZoneTool(ArbiterRoadNetwork arn, RoadDisplay rd, Editor ed) { // set helpers we can access this.arn = arn; this.rd = rd; this.ed = ed; // helpers to wrap intersections for polygons this.WrappingHelpers = new List <Coordinates>(); // create toolbox zt = new ZoneToolbox(this); zt.Show(); }