SteeringStrategy

Strategy interface describing how the next points of the steering actions are combined to calculate the next position to move on.

Inheritors

Functions

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

Computes the next position starting from the steering actions the node obey to, in relative coordinates with respect to its current position.

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

Computes the target to reach starting from the steering actions the node obey to, in absolute coordinates.