PedestrianGroup

interface PedestrianGroup<T, P : Vector<P>, A : GeometricTransformation<P>> : Group<T, Pedestrian<T, P, A>>

A Group of Pedestrians.

Functions

Link copied to clipboard
abstract fun addMember(node: Pedestrian<T, P, A>): Group<T, Pedestrian<T, P, A>>

Add a node in this group if not already part of it.

Link copied to clipboard
open fun contains(node: Pedestrian<T, P, A>): Boolean

Whether a node belongs to this group or not.

Link copied to clipboard
abstract fun removeMember(node: Pedestrian<T, P, A>): Group<T, Pedestrian<T, P, A>>

Remove a node from this group.

Properties

Link copied to clipboard
abstract val members: List<Pedestrian<T, P, A>>

The list of pedestrians belonging to this group.

Inheritors

Link copied to clipboard
Link copied to clipboard