Lane.Builder
class Lane.Builder
A builder of Lane.
Summary
Public functions |
|
|---|---|
Lane.Builder |
addDirection(direction: LaneDirection)Adds a direction a driver can take from this lane. |
Lane |
build()Constructs the |
Public functions
addDirection
Added in 1.0.0
fun addDirection(direction: LaneDirection): Lane.Builder
Adds a direction a driver can take from this lane.
| Throws | |
|---|---|
java.lang.NullPointerException |
if |