예제 #1
0
 private static float fHeuristic(Hex start, Hex goal)
 {
     return(start.loc.Distance(goal.loc));
 }
예제 #2
0
파일: Present.cs 프로젝트: desyderata/4x
 public void init(Hex h)
 {
     this.h = h;
     model  = new GameObject("Present Model").AddComponent <PresentModel>();
     model.init(this);
 }