Behavior tree.
More...
Behavior tree.
Default behavior tree contains BTRuleFailure root rule with id "root".
◆ getRootRule()
BTRule Dragengine.BehaviorTreeSystem.BehaviorTree.getRootRule |
( |
| ) |
|
◆ getRuleWithID()
BTRule Dragengine.BehaviorTreeSystem.BehaviorTree.getRuleWithID |
( |
String |
id | ) |
|
Registered rule with identifier or null if absent.
◆ hasRuleWithID()
bool Dragengine.BehaviorTreeSystem.BehaviorTree.hasRuleWithID |
( |
String |
id | ) |
|
Registered rule with identifier is present.
◆ new()
BehaviorTree Dragengine.BehaviorTreeSystem.BehaviorTree.new |
( |
| ) |
|
◆ registerRule()
void Dragengine.BehaviorTreeSystem.BehaviorTree.registerRule |
( |
BTRule |
rule | ) |
|
Register rule for retrieval by identifier.
- Exceptions
-
EInvalidParam | Rule has null identifier. |
EInvalidParam | Another rule with the same ID is already registered. |
◆ setRootRule()
void Dragengine.BehaviorTreeSystem.BehaviorTree.setRootRule |
( |
BTRule |
rule | ) |
|
◆ pRootRule
BTRule Dragengine.BehaviorTreeSystem.BehaviorTree.pRootRule |
◆ pRuleMap
Dictionary Dragengine.BehaviorTreeSystem.BehaviorTree.pRuleMap |
The documentation for this class was generated from the following file: