Example #1
0
 private static float fHeuristic(Hex start, Hex goal)
 {
     return(start.loc.Distance(goal.loc));
 }
Example #2
0
 public void init(Hex h)
 {
     this.h = h;
     model  = new GameObject("Present Model").AddComponent <PresentModel>();
     model.init(this);
 }