Esempio n. 1
0
 public void setAStar(BasicCube[] mapArray, Vector3 mapResolution)
 {
     pathfinding = new AStar(mapArray, (int)mapResolution.X, (int)mapResolution.Y, (int)mapResolution.Z, face, position);
 }
Esempio n. 2
0
 public void resetAstar()
 {
     pathfinding.ResetSearchNodes();
     pathfinding = null;
 }