GoTo

data class GoTo<T, P : Position<P>>(destination: P) : TargetSelectionStrategy<T, P>

TargetSelectionStrategy that has the objective to go towards a fixed destination in the Environment.

Parameters

position type

Constructors

Link copied to clipboard
constructor(destination: P)
constructor(environment: Environment<T, P>, vararg destination: Number)

Properties

Link copied to clipboard
open override val target: P

Functions

Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T?>?, reaction: Reaction<T?>?): TargetSelectionStrategy<T?, P?>?
Link copied to clipboard
open override fun getTarget(): P
Link copied to clipboard
open override fun toString(): String