GPSTraceWalker

A walker that follows a trace. The trace is mandatory.

Parameters

<T>

Concentration type

Constructors

Link copied to clipboard
constructor(environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, options: O, path: String, cycle: Boolean, normalizer: String, normalizerArgs: Array<Any>)
constructor(environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, path: String, cycle: Boolean, normalizer: String, normalizerArgs: Array<Any>)

Functions

Link copied to clipboard
abstract fun cloneAction(node: Node<T>, reaction: Reaction<T>): Action<T>
This method allows to clone this action on a new node.
open fun cloneAction(node: Node<T>, reaction: Reaction<T>): GPSTraceWalker<T, O, S>
Fails, can't be cloned.
Link copied to clipboard
open fun execute()
Detects if the move is in absolute or relative coordinates, then calls the correct method on the Environment.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getOutboundDependencies(): ListSet<? extends Dependency>
How to override: if you intend your action to influence any reaction with compatible context, return null.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun traceFor(environment: MapEnvironment<out Any, out Any, out Any>, path: String, cycle: Boolean, normalizer: String, normalizerArgs: Array<Any>): GPSTrace