public List <Node> GetPath() { List <Node> path = AStar(); while (path == null) { path = AStar(); if (OpenList.Count() == 0) { return(null); } } ; return(path); }
public List <Node> GetPath() { List <Node> path = AStar(); while (path == null) { path = AStar(); if (OpenList.Count() == 0) { return(null); } } ; return(path); }