Drag[en]gine Script Module DragonScript
1.23
|
State machine condition evaluating a boolean parameter table entry. More...
Classes | |
enum | TestMode |
Test mode. More... | |
Public Member Functions | |
bool | evaluateCondition (SMContext 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... | |
SMConditionTrigger | negated () |
Create condition testing the exact opposite. More... | |
SMConditionTrigger | new (StringID name, TestMode testMode) |
Create condition. More... | |
SMConditionTrigger | 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... | |
Protected Member Functions | |
void | setTriggerTable (TSTriggerTable triggerTable) |
Set trigger table. More... | |
State machine condition evaluating a boolean parameter table entry.
bool Dragengine.StateMachineSystem.SMConditionTrigger.evaluateCondition | ( | SMContext | 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.StateMachineSystem.SMCondition.
StringID Dragengine.StateMachineSystem.SMConditionTrigger.getName | ( | ) |
Name of the trigger to evaluate.
TSTriggerTable Dragengine.StateMachineSystem.SMConditionTrigger.getTriggerTable | ( | ) |
Trigger table.
TSTriggerTarget Dragengine.StateMachineSystem.SMConditionTrigger.getTriggerTarget | ( | ) |
Cached trigger target.
SMConditionTrigger Dragengine.StateMachineSystem.SMConditionTrigger.negated | ( | ) |
Create condition testing the exact opposite.
SMConditionTrigger Dragengine.StateMachineSystem.SMConditionTrigger.new | ( | StringID | name, |
TestMode | testMode | ||
) |
Create condition.
SMConditionTrigger Dragengine.StateMachineSystem.SMConditionTrigger.new | ( | TSTriggerTable | triggerTable, |
StringID | name, | ||
TestMode | testMode | ||
) |
Create condition.
void Dragengine.StateMachineSystem.SMConditionTrigger.setName | ( | StringID | name | ) |
Set name of the trigger to evaluate.
void Dragengine.StateMachineSystem.SMConditionTrigger.setTestMode | ( | TestMode | testMode | ) |
Set action.
|
protected |
Set trigger table.