AbstractMoveNode

abstract class AbstractMoveNode<T, P : Position<P>?> : AbstractAction<T> (source)

This action moves a node inside a given environment.

Parameters

<T>

concentration type

<P>

position type

Inheritors

Functions

Link copied to clipboard
abstract fun cloneAction(p: Node<T>, p1: Reaction<T>): Action<T>
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
abstract fun getNextPosition(): P
Link copied to clipboard
abstract fun getOutboundDependencies(): ListSet<out Dependency>

@Nonnull
fun getOutboundDependencies(): ListSet<out 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