BrainTree
BrainTree copied to clipboard
C++ behavior tree single header library
Following the discussion in the issue #14, Blackboard support by the tree builder has been added. A sample source, example/Example02_Simple.cpp, demonstrates Blackboard works with the builder. The behavior of stateful...
Make blackboard use a Type class that encapsulates whatever we need and which can also be extended by anyone.
In areas like: ```c++ template SomeBuilder leaf(Args... args) { auto child = std::make_shared((args)...); node->setChild(child); return *this; } ``` there needs to be forwarding to avoid unintended copying: ```c++ template SomeBuilder...
Don't use shared_ptr everywhere
Hello ! Concerning the Succeeder and Failer nodes: When reading forcefailure, forcesuccess documentation https://www.behaviortree.dev/docs/nodes-library/DecoratorNode I think you've missed checking and returning the RUNNING state.