|
Sarafun Behavior Trees package
1
Behavior trees for the SARAFun project
|
#include <parse_tree.h>

Public Member Functions | |
| Parser (std::string filepath) | |
| ~Parser () | |
| BT::TreeNode * | parseTree () |
Private Member Functions | |
| BT::TreeNode * | parseTree (json node) |
| void | verifyNode (json node) |
Private Attributes | |
| std::ifstream | file_ |
| json | tree_j_ |
| std::string | current_id_ |
Implements a behavior tree parser, that reads a JSON file describing the tree and generates the executable tree structure.
Definition at line 17 of file parse_tree.h.
1.8.6