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