Drag[en]gine Script Module DragonScript
1.23
|
Behavior tree condition evaluating trigger expression. More...
Classes | |
enum | TestMode |
Test mode. More... | |
Public Member Functions | |
bool | evaluateCondition (BTContext context, Dictionary parameters) |
Evaluate condition. More... | |
StringID | getName () |
Name of the trigger to evaluate. More... | |
TestMode | getTestMode () |
TestMode. More... | |
TSTriggerTable | getTriggerTable () |
Trigger table. More... | |
TSTriggerTarget | getTriggerTarget () |
Cached trigger target. More... | |
BTConditionTrigger | negated () |
Create condition testing the exact opposite. More... | |
BTConditionTrigger | new (StringID name, TestMode testMode) |
Create condition. More... | |
BTConditionTrigger | new (TSTriggerTable triggerTable, StringID name, TestMode testMode) |
Create condition. More... | |
void | setName (StringID name) |
Set name of the trigger to evaluate. More... | |
void | setTestMode (TestMode testMode) |
Set action. More... | |
Public Attributes | |
StringID | pName |
TestMode | pTestMode |
TSTriggerTable | pTriggerTable |
TSTriggerTarget | pTriggerTarget |
Protected Member Functions | |
void | setTriggerTable (TSTriggerTable triggerTable) |
Set trigger table. More... | |
Behavior tree condition evaluating trigger expression.
bool Dragengine.BehaviorTreeSystem.BTConditionTrigger.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. |
Implements Dragengine.BehaviorTreeSystem.BTCondition.
StringID Dragengine.BehaviorTreeSystem.BTConditionTrigger.getName | ( | ) |
Name of the trigger to evaluate.
TSTriggerTable Dragengine.BehaviorTreeSystem.BTConditionTrigger.getTriggerTable | ( | ) |
Trigger table.
TSTriggerTarget Dragengine.BehaviorTreeSystem.BTConditionTrigger.getTriggerTarget | ( | ) |
Cached trigger target.
BTConditionTrigger Dragengine.BehaviorTreeSystem.BTConditionTrigger.negated | ( | ) |
Create condition testing the exact opposite.
BTConditionTrigger Dragengine.BehaviorTreeSystem.BTConditionTrigger.new | ( | StringID | name, |
TestMode | testMode | ||
) |
Create condition.
BTConditionTrigger Dragengine.BehaviorTreeSystem.BTConditionTrigger.new | ( | TSTriggerTable | triggerTable, |
StringID | name, | ||
TestMode | testMode | ||
) |
Create condition.
void Dragengine.BehaviorTreeSystem.BTConditionTrigger.setName | ( | StringID | name | ) |
Set name of the trigger to evaluate.
void Dragengine.BehaviorTreeSystem.BTConditionTrigger.setTestMode | ( | TestMode | testMode | ) |
Set action.
|
protected |
Set trigger table.
StringID Dragengine.BehaviorTreeSystem.BTConditionTrigger.pName |
TestMode Dragengine.BehaviorTreeSystem.BTConditionTrigger.pTestMode |
TSTriggerTable Dragengine.BehaviorTreeSystem.BTConditionTrigger.pTriggerTable |
TSTriggerTarget Dragengine.BehaviorTreeSystem.BTConditionTrigger.pTriggerTarget |