Beispiel #1
0
        public List <Node> GetPath()
        {
            List <Node> path = AStar();

            while (path == null)
            {
                path = AStar();

                if (OpenList.Count() == 0)
                {
                    return(null);
                }
            }
            ;

            return(path);
        }