ObjectsOnRoad

Represents a hazard due to objects on the road.

Parameters

causes

The causes of objects on the road. It can not be empty.


constructor(animal: Boolean?, people: Boolean?)

Deprecated

This will be removed from future releases after 2026-07-26.

Replace with

The new constructor ObjectsOnRoad(causes: Set<Cause>)