CognitiveAgentObstacleAvoidance

constructor(environment: Environment2DWithObstacles<W, T>, reaction: SteeringBehavior<T>, pedestrian: PedestrianProperty<T>, proximityRange: Double)

Parameters

environment
the environment inside which the node moves.
reaction
the reaction which executes this action.
pedestrian
the owner of this action.
proximityRange
the distance at which an obstacle is perceived by the node.