ObjectsOnRoad

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

Represents a hazard due to objects on the road.

Constructors

Link copied to clipboard
constructor(animal: Boolean?, people: Boolean?)

Properties

Link copied to clipboard

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

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