Move To Target
class MoveToTarget<T, P : Position2D<P>?> : AbstractConfigurableMoveNode<T, P>
Content copied to clipboard
Movement towards a target defined as a concentration.
Parameters
<T>
concentration type
<P>
Position2D type
Constructors
Link copied to clipboard
open fun MoveToTarget(environment: Environment<T, P>, node: Node<T>, reaction: Reaction<T>, trackMolecule: Molecule, speed: Double)
Content copied to clipboard
Functions
Link copied to clipboard
open fun cloneAction(node: Node<T>, reaction: Reaction<T>): MoveToTarget<T, P>
Content copied to clipboard
Link copied to clipboard
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
How to override: if you intend your action to influence any reaction with compatible context, return null.