FollowAtDistance

constructor(node: Node<T>, reaction: Reaction<T>, environment: Environment<T, Euclidean2DPosition>, target: Molecule, distance: Double, speed: Double)(source)

Parameters

node

the follower node.

reaction

the reaction hosting this action.

environment

the environment containing the nodes.

target

the molecule carrying the destination coordinates.

distance

the distance to keep from the destination.

speed

the maximum movement speed.

Type Parameters

T

the concentration type.