Social

data class Social<T>(val node: Node<T>, val group: Group<T> = Alone(node)) : AbstractNodeProperty<T> , SocialProperty<T>

Base implementation of a SocialProperty.

Constructors

Link copied to clipboard
constructor(node: Node<T>, group: Group<T> = Alone(node))

Properties

Link copied to clipboard
open override val group: Group<T>

Pedestrian's Group.

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

The node to which the capability is added.

Functions

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

Clones this property to be added on a new node.

Link copied to clipboard
open override fun toString(): String