Drag[en]gine Script Module DragonScript 1.23
|
Behavior tree condition interface. More...
Public Member Functions | |
bool | evaluateCondition (BTContext context, Dictionary parameters) |
Evaluate condition. | |
Behavior tree condition interface.
Conditions allow to limit running rules without needing to apply the logic directly to the rule itself.
bool Dragengine.BehaviorTreeSystem.BTCondition.evaluateCondition | ( | 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. |
Implemented in Dragengine.BehaviorTreeSystem.BTConditionCombine, Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool, Dragengine.BehaviorTreeSystem.BTConditionParameterTableFloat, Dragengine.BehaviorTreeSystem.BTConditionParameterTableInt, and Dragengine.BehaviorTreeSystem.BTConditionTrigger.