private AstarPath() { this.pathProcessor = new PathProcessor(this, this.pathReturnQueue, 0, true); this.pathReturnQueue = new PathReturnQueue(this); this.workItems = new WorkItemProcessor(this); this.graphUpdates = new GraphUpdateProcessor(this); this.graphUpdates.OnGraphsUpdated += delegate { if (AstarPath.OnGraphsUpdated != null) { AstarPath.OnGraphsUpdated(this); } }; }