Just a simple implemention of BehaviourTree framework for game. Reference to BTexample.cpp
for use guidance.
-
C++11 Implemention.
-
Json file support by depended on jsoncpp.
-
BT_REGISTER_TASK_FUNC
for task regist, define task example:BT_status task_func() {} BT_REGISTER_TASK_FUNC(task_func); // Register task_func to
- Make task_func support any arguments input
- Implement more common decorators
- Make project to be thread safe