- Plane generation has a timer, will auto generate when the timer is reached dependent on the number of flights active in the airspace
- Planes are generated at their spawn waypoint within a randomised offset to reduce planes crashing into others as they spawn
- Planes will behave as expected if you change the first waypoint in the route
- Added two methods for generating routes - one greedy method which just picks the closest waypoint from the current location and goes to it. This works, but it generates odd routes so it may not be ideal. Would need testing with the full 10 waypoints, i think.
The second is a Djikstra shortest path, which will generate a much more convincing route. However, because our waypoints have no defined connections, ie you can travel to any point from any point, this will always generates a direct source -> destination route (because that is always the cheapest path). To use this we'll have to define connections between waypoints (essentially make a graph)