ObjectsOnRoad

class ObjectsOnRoad constructor(val animal: Boolean?, val people: Boolean?) : DetailedHazardInformation

Represents a hazard due to objects on the road.

Constructors

Link copied to clipboard

Represents a hazard due to objects on the road.

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

Types

Link copied to clipboard
value class Cause

Represents the cause of objects on the road.

Properties

Link copied to clipboard

true if the obstacle is one or more animals. false otherwise.

Link copied to clipboard

The causes of objects on the road.

Link copied to clipboard

true if the obstacle is caused by people. false otherwise.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String