Added log
This commit is contained in:
parent
23bab6a593
commit
246ba9d182
@ -17,4 +17,5 @@ do
|
|||||||
n2 = graph[graph.Keys.ElementAt(r.Next(0, graph.Count - 1))];
|
n2 = graph[graph.Keys.ElementAt(r.Next(0, graph.Count - 1))];
|
||||||
_route = Astar.FindPath(ref graph, n1, n2, logger);
|
_route = Astar.FindPath(ref graph, n1, n2, logger);
|
||||||
} while (!_route.routeFound);
|
} while (!_route.routeFound);
|
||||||
|
logger.Log(LogLevel.INFO, "Press Enter to find new path.");
|
||||||
} while (Console.ReadKey().Key.Equals(ConsoleKey.Enter));
|
} while (Console.ReadKey().Key.Equals(ConsoleKey.Enter));
|
Loading…
Reference in New Issue
Block a user