This is a bridge package that integrates the behavior_tree dart package with Flame engine.
--- ## Features This package provides a `HasBehaviorTree` mixin for Flame `Components`. It can be added to any `Component` and it takes care of ticking the behavior tree along with the component's update. ## Getting started Add this package to your Flutter project using: ```bash flutter pub add flame_behavior_tree ``` ## Usage - Add the `HasBehaviorTree` mixin to the component that wants to follow a certain AI behavior. ```dart class MyComponent extends Position with HasBehaviorTree { } ``` - Set-up a behavior tree and set its root as the `treeRoot` of the `HasBehaviorTree`. ```dart class MyComponent extends PositionComponent with HasBehaviorTree { Future