TargetMapWalker
constructor(environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, trackMolecule: Molecule, interactingMolecule: Molecule?, speed: Double = DEFAULT_SPEED, interaction: Double = DEFAULT_INTERACTION, range: Double = DEFAULT_RANGE)
Type Parameters
constructor(environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, trackMolecule: String, interactingMolecule: String?, speed: Double, interaction: Double, range: Double)
Builds the walker from molecule names; a null interactingMolecule disables interactions.
constructor(environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, trackMolecule: String, speed: Double = DEFAULT_SPEED)
Builds a walker without interactions from the name of the tracked molecule.