Qualia  0.2
ParallelNode.h
Go to the documentation of this file.
1 namespace BehaviorTree
2 {
4 
9 {
10 public:
11  BEHAVIOR_STATUS execute(void* agent);
12  void init(void* agent);
13 
16  ParallelNode(FAILURE_POLICY failurePolicy = FAIL_ON_ALL, SUCCESS_POLICY successPolicy = SUCCEED_ON_ALL);
17  virtual ~ParallelNode();
18 
19 private:
21 
24  uint8_t nFailure;
25  uint8_t nSuccess;
26 };
27 }