five-on-it / packages/ai/src/traffic-drive / planLanes
Function: planLanes()
planLanes(
ai,lanes,long?):number[]
Defined in: packages/ai/src/traffic-drive.ts:391
lanes and the lanes after them, until they reach DRIVE's ahead beyond the first (a long vehicle's straight on at the junctions where it can).
Parameters
ai
lanes
readonly number[]
long?
boolean = false
Returns
number[]