Perceptive

data class Perceptive<T>(val node: Node<T>, val fieldOfView: InfluenceSphere<T>) : AbstractNodeProperty<T> , PerceptiveProperty<T>

Base implementation of a pedestrian's capability to influence each other.

Constructors

Link copied to clipboard
constructor(node: Node<T>, fieldOfView: InfluenceSphere<T>)

Properties

Link copied to clipboard
open override val fieldOfView: InfluenceSphere<T>

The field of view of the pedestrian.

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

The node to which the capability is added.

Link copied to clipboard

The list of influence spheres belonging to this pedestrian (by default, only its fieldOfView).

Functions

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

Clones this property to be added on a new node.