FollowPathBehavior constructor

FollowPathBehavior([
  1. Path? path,
  2. double nextWaypointDistance = 1
])

Constructs a new follow path behavior.

Implementation

FollowPathBehavior([Path? path, this.nextWaypointDistance = 1 ]):super() {
	this.path = path ?? Path();
}