FollowAtDistance

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

Parameters

concentration type
environment

the environment containing the nodes

node

the follower

reaction

the reaction hosting this action

target

molecule from which to read the destination to follow in the form of coordinates or a tuple

distance

the distance to keep from the destination

speed

the maximum speed