Drag[en]gine Script Module DragonScript
1.23
|
Behavior tree condition evaluating a boolean parameter table entry. More...
Public Member Functions | |
bool | evaluateCondition (BTContext context, Dictionary parameters) |
Evaluate condition. More... | |
bool | getCompareValue () |
Default compare against value. More... | |
bool | getDefaultValue () |
Default value if entry to compare is not null. More... | |
ParameterTableEntry | getEntry () |
Parameter table entry to compare. More... | |
ParameterTableEntry | getEntryCompareValue () |
Parameter table entry to compare against. More... | |
bool | getEqual () |
Evaluates to true if values are equal. More... | |
String | getParameterNameCompareValue () |
Use named parameter as source of compare value if not null. More... | |
BTConditionParameterTableBool | negated () |
Create condition testing the exact opposite. More... | |
BTConditionParameterTableBool | new (ParameterTableEntry entry, bool defaultValue, bool equal, bool compareValue) |
Create condition. More... | |
BTConditionParameterTableBool | new (ParameterTableEntry entry, bool defaultValue, bool equal, bool compareValue, String parameterNameCompareValue) |
Create condition. More... | |
BTConditionParameterTableBool | new (ParameterTableEntry entry, bool defaultValue, bool equal, ParameterTableEntry entryCompareValue, bool compareValue, String parameterNameCompareValue) |
Create condition. More... | |
void | setCompareValue (bool compareValue) |
Set default compare against value. More... | |
void | setDefaultValue (bool defaultValue) |
Set default value if entry to compare is not null. More... | |
void | setEntry (ParameterTableEntry entry) |
Set parameter table entry to compare. More... | |
void | setEntryCompareValue (ParameterTableEntry entry) |
Set parameter table entry to compare against. More... | |
void | setEqual (bool equal) |
Set evaluates to true if values are equal. More... | |
void | setParameterNameCompareValue (String name) |
Use named parameter as source of compare value if not null. More... | |
Public Attributes | |
bool | pCompareValue |
bool | pDefaultValue |
ParameterTableEntry | pEntry |
ParameterTableEntry | pEntryCompareValue |
bool | pEqual |
String | pParameterNameCompareValue |
Behavior tree condition evaluating a boolean parameter table entry.
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.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.
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.getCompareValue | ( | ) |
Default compare against value.
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.getDefaultValue | ( | ) |
Default value if entry to compare is not null.
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.getEntry | ( | ) |
Parameter table entry to compare.
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.getEntryCompareValue | ( | ) |
Parameter table entry to compare against.
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.getEqual | ( | ) |
Evaluates to true if values are equal.
String Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.getParameterNameCompareValue | ( | ) |
Use named parameter as source of compare value if not null.
BTConditionParameterTableBool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.negated | ( | ) |
Create condition testing the exact opposite.
BTConditionParameterTableBool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.new | ( | ParameterTableEntry | entry, |
bool | defaultValue, | ||
bool | equal, | ||
bool | compareValue | ||
) |
Create condition.
BTConditionParameterTableBool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.new | ( | ParameterTableEntry | entry, |
bool | defaultValue, | ||
bool | equal, | ||
bool | compareValue, | ||
String | parameterNameCompareValue | ||
) |
Create condition.
BTConditionParameterTableBool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.new | ( | ParameterTableEntry | entry, |
bool | defaultValue, | ||
bool | equal, | ||
ParameterTableEntry | entryCompareValue, | ||
bool | compareValue, | ||
String | parameterNameCompareValue | ||
) |
Create condition.
void Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.setCompareValue | ( | bool | compareValue | ) |
Set default compare against value.
void Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.setDefaultValue | ( | bool | defaultValue | ) |
Set default value if entry to compare is not null.
void Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.setEntry | ( | ParameterTableEntry | entry | ) |
Set parameter table entry to compare.
void Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.setEntryCompareValue | ( | ParameterTableEntry | entry | ) |
Set parameter table entry to compare against.
void Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.setEqual | ( | bool | equal | ) |
Set evaluates to true if values are equal.
void Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.setParameterNameCompareValue | ( | String | name | ) |
Use named parameter as source of compare value if not null.
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.pCompareValue |
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.pDefaultValue |
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.pEntry |
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.pEntryCompareValue |
bool Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.pEqual |
String Dragengine.BehaviorTreeSystem.BTConditionParameterTableBool.pParameterNameCompareValue |