Path#
- Bases: - Task- The task to follow a path defined by a list of points. - Registered properties: - points(list[- navground.core.Vector2])
- tolerance(float)
 - Constructs a new instance. - Parameters:
- points – The points defining the curve 
- tolerance – The goal tolerance 
 
 
 - Returns whether the task is done. - Returns:
- True if the task has finished. 
 
 - Setup the task. - Called before starting a simulation. - Parameters:
- agent – The agent owning the task 
- world – The world the agent is part of 
 
 
 - Returns:
- The path or None if not enough points are provided 
 
 - Returns:
- The points defining the curve 
 
 - Returns:
- The goal tolerance