WalkingPedestrian

data class WalkingPedestrian<T>(val node: Node<T>, val walkingSpeed: Double = Speed.default) : AbstractNodeProperty<T> , WalkingPedestrianProperty<T>

Implementation of a basic WalkingPedestrianProperty.

Constructors

Link copied to clipboard
constructor(node: Node<T>, walkingSpeed: Double = Speed.default)

Properties

Link copied to clipboard
open override val node: Node<T>

The node to which the capability is added.

Link copied to clipboard
open override val walkingSpeed: Double

The node's walking speed.

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): WalkingPedestrian<T>

Clones this property to be added on a new node.