|
Drag[en]gine Script Module DragonScript 1.32.1
|
Condition behavior tree action. More...
Public Member Functions | |
| bool | evaluate (BTContext context, Dictionary parameters) |
| Evaluate condition. | |
| BTConditionAction | new () |
| Create action. | |
Public Member Functions inherited from Dragengine.BehaviorTreeSystem.BTAction | |
| BTResult | runAction (BTContext context, Dictionary parameters) |
| Run action. | |
Condition behavior tree action.
Convenience implementation of an action returning BTResult.success if the evaluate() method returns true otherwise BTResult.failure is returned.
| bool Dragengine.BehaviorTreeSystem.BTConditionAction.evaluate | ( | BTContext | context, |
| Dictionary | parameters | ||
| ) |
Evaluate condition.
| parameters | Dictionary with parameters of type String key and String value. Do not change the content of the dictionary as it is shared. |
| BTConditionAction Dragengine.BehaviorTreeSystem.BTConditionAction.new | ( | ) |
Create action.