Disposition

sealed class Disposition(source)

What a vehicle does with itself when the dispatcher has no work for it.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class GoCharge(val locationName: String) : Disposition

Go to a charger and stay there until the battery is full.

Link copied to clipboard
data class MoveTo(val locationName: String) : Disposition

Go somewhere named.

Link copied to clipboard
data object ParkInPlace : Disposition

Stay exactly where it stopped. Cheap, and a hazard: a vehicle parked on the guide path denies that space to everyone else.

Link copied to clipboard

Go to the vehicle's declared home base, if it has one.