MyFollowBehavior constructor
MyFollowBehavior({})
Implementation
MyFollowBehavior({
required super.target,
required this.movementWindow,
super.maxSpeed = double.infinity,
super.horizontalOnly = false,
super.verticalOnly = false,
Vector2? targetSize,
super.priority,
}) : targetSize = targetSize ?? Vector2.zero();