SteeringStrategy

interface SteeringStrategy<T, P : Position<P>>

Strategy describing how steering actions are combined to compute the next position.

Type Parameters

T

the concentration type.

P

the Position type used by actions.

Inheritors

Functions

Link copied to clipboard
abstract fun computeNextPosition(actions: List<SteeringAction<T, P>>): P

Computes the next relative position by combining the provided steering actions.

Link copied to clipboard
abstract fun computeTarget(actions: List<SteeringAction<T, P>>): P

Computes the absolute target position derived from the provided steering actions.