Lane

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

Parameters

directions

List of lane directions.

follow

Optional lane direction the driver should follow.