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