Drag[en]gine Script Module DragonScript 1.23
Loading...
Searching...
No Matches
Dragengine.BehaviorTreeSystem.BTCondition Interface Reference

Behavior tree condition interface. More...

Inheritance diagram for Dragengine.BehaviorTreeSystem.BTCondition:
Dragengine.BehaviorTreeSystem.BTBlockCondition Dragengine.BehaviorTreeSystem.BTConditionCombine Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool Dragengine.BehaviorTreeSystem.BTConditionParameterTableFloat Dragengine.BehaviorTreeSystem.BTConditionParameterTableInt Dragengine.BehaviorTreeSystem.BTConditionTrigger

Public Member Functions

bool evaluateCondition (BTContext context, Dictionary parameters)
 Evaluate condition.
 

Detailed Description

Behavior tree condition interface.

Conditions allow to limit running rules without needing to apply the logic directly to the rule itself.

Member Function Documentation

◆ evaluateCondition()

bool Dragengine.BehaviorTreeSystem.BTCondition.evaluateCondition ( BTContext  context,
Dictionary  parameters 
)

Evaluate condition.

Parameters
parametersDictionary 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.


The documentation for this interface was generated from the following file: