AbstractLocalAction

abstract class AbstractLocalAction<T>(reaction: NodeReaction<T>) : AbstractNodeAction<T> (source)

Base implementation of an Action executed on the node hosting its NodeReaction.

A local action can only be cloned onto a NodeReaction, and it then acts on the node of that reaction.

Inheritors

Constructors

Link copied to clipboard
constructor(reaction: NodeReaction<T>)

Properties

Link copied to clipboard
override val reaction: NodeReaction<T>

The NodeReaction owning this action, hosted by targetNode.

Link copied to clipboard

Functions

Link copied to clipboard
override fun cloneAction(newReaction: Reaction<T>): Action<T>
Link copied to clipboard
abstract fun execute()
Link copied to clipboard
open override fun toString(): String