Follow At Distance
fun <T> FollowAtDistance(node: Node<T>, reaction: Reaction<T>, env: Environment<T, Euclidean2DPosition>, target: Molecule, distance: Double, speed: Double)
Content copied to clipboard
Parameters
env
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