Lane

constructor(directions: List<Direction>, follow: Direction? = null)

Parameters

directions

List of directions reachable from this lane.

follow

Optional Direction the driver should follow to continue along the route.