No clue if this is the best way to do it but:
{ if (searchCenter == endWaypoint) { return path; } else { LoadBlocks(); ColorStartAndEnd(); BreadthFirstSearch(); CreatePath(); return path; } }
Really happy that it worked!
Cheers,
Jack
No clue if this is the best way to do it but:
{ if (searchCenter == endWaypoint) { return path; } else { LoadBlocks(); ColorStartAndEnd(); BreadthFirstSearch(); CreatePath(); return path; } }
Really happy that it worked!
Cheers,
Jack
Great job with the solution!