Example #1
0
 public void ResetRuntime(PFAStarPoint parent, PFPoint tiledPoint)
 {
     this.parent     = parent;
     this.tiledPoint = tiledPoint;
     F     = 0;
     G     = 0;
     H     = 0;
     state = PFAStarPointState.Open;
     step  = 0;
 }
Example #2
0
 public void ReleaseToCache()
 {
     state       = PFAStarPointState.Close;
     this.parent = null;
 }