SpeedSpec

object SpeedSpec : ConfigSpec(source)

A specification of the parameters regarding speeds to load from a config file.

Properties

Link copied to clipboard
val adultFemale: RequiredItem<Double>

The walking speed of an adult female.

Link copied to clipboard
val adultMale: RequiredItem<Double>

The walking speed of an adult male.

Link copied to clipboard
val childFemale: RequiredItem<Double>

The walking speed of a young female.

Link copied to clipboard
val childMale: RequiredItem<Double>

The walking speed of a young male.

Link copied to clipboard
val default: RequiredItem<Double>

The default walking speed, if the pedestrian details have not been defined.

Link copied to clipboard
val elderlyFemale: RequiredItem<Double>

The walking speed of an elderly female.

Link copied to clipboard
val elderlyMale: RequiredItem<Double>

The walking speed of an elderly male.

Link copied to clipboard
open override val innerSpecs: Set<Spec>
Link copied to clipboard
open override val items: Set<Item<*>>
Link copied to clipboard
override val prefix: String
Link copied to clipboard
val variance: RequiredItem<Double>

The walking speed variance.

Functions

Link copied to clipboard
open override fun addInnerSpec(spec: Spec)
Link copied to clipboard
open override fun addItem(item: Item<*>)
Link copied to clipboard
open operator fun get(path: String): Spec
Link copied to clipboard
inline fun <T> lazy(name: String?, description: String, noinline thunk: (config: ItemContainer) -> T): LazyProperty<T>
Link copied to clipboard
inline fun <T> optional(default: T, name: String?, description: String): OptionalProperty<T>
Link copied to clipboard
open operator fun plus(spec: Spec): Spec
Link copied to clipboard
open fun qualify(item: Item<*>): String
Link copied to clipboard
inline fun <T> required(name: String?, description: String): RequiredProperty<T>
Link copied to clipboard
open fun withFallback(spec: Spec): Spec
Link copied to clipboard
open fun withPrefix(prefix: String): Spec