cloneAction
open override fun cloneAction(node: Node<T>, reaction: Reaction<T>): CognitiveAgentFlee<T, P, A>(source)
This method allows to clone this action on a new node. It may result useful to support runtime creation of nodes with the same reaction programming, e.g. for morphogenesis.
Return
the cloned action
Parameters
node
The node where to clone this {@link Action}
Content copied to clipboard
reaction
The reaction to which the CURRENT action is assigned
Content copied to clipboard