コード例 #1
0
ファイル: AstarPath.cs プロジェクト: Blightbuster/Green-Hell
 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);
         }
     };
 }