GroupSteeringAction

A SteeringAction that is influenced by a group of pedestrians.

Type Parameters

T

the concentration type.

P

the position/vector type used by the steering action.

Inheritors

Properties

Link copied to clipboard
abstract val reaction: Reaction<T>

Functions

Link copied to clipboard
abstract fun cloneAction(newReaction: Reaction<T>): Action<T>
Link copied to clipboard
abstract fun execute()
Link copied to clipboard
abstract fun group(): List<Node<T>>

Returns the list of nodes (pedestrians) that influence this group steering action.

Link copied to clipboard
abstract fun nextPosition(): P

Returns the target relative position the owner will move to when this action is executed. The position is relative to the owner's current position.