SteeringAction

interface SteeringAction<T, P : Position<P>> : Action<T> (source)

An action that describes movement of a node inside its environment.

Type Parameters

T

the concentration type.

P

the Position type used by the action.

Inheritors

Properties

Link copied to clipboard
abstract override val context: Context?
Link copied to clipboard
@get:Nonnull
abstract override val outboundDependencies: ListSet<out Dependency?>

Functions

Link copied to clipboard
abstract fun cloneAction(p0: Node<T?>?, p1: Reaction<T?>?): Action<T?>?
Link copied to clipboard
abstract fun execute()
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.