|
Drag[en]gine Script Module DragonScript 1.35
|
Conversation condition logic operator. More...
Classes | |
| class | Factory |
| Factory for loading actor actions. More... | |
| enum | Operator |
| Logic operators. More... | |
Public Member Functions | |
| void | addCondition (ConversationCondition condition) |
| Add condition. | |
| bool | evaluate (ConversationPlayback playback) |
| Condition is true. | |
| void | forEachCondition (Block aBlock) |
| Visit conditions. | |
| Operator | getOperator () |
| Operator. | |
| CConditionLogic | new () |
| Create conversation condition. | |
| CConditionLogic | new (PersistencyEnvironment env, FileReader reader) |
| Read from file. | |
| void | setOperator (Operator operator) |
| Set operator. | |
| Public Member Functions inherited from Dragengine.LoadSave.Persistable | |
| String | persistencyFactoryName () |
| Name of PersistencyFactory required to load object from file. | |
| void | writeObjectToFile (PersistencyEnvironment env, FileWriter writer) |
| Write object to file writer. | |
Public Attributes | |
| Array | pConditions |
| Operator | pOperator |
Conversation condition logic operator.
| void Dragengine.ConversationSystem.CConditionLogic.addCondition | ( | ConversationCondition | condition | ) |
| bool Dragengine.ConversationSystem.CConditionLogic.evaluate | ( | ConversationPlayback | playback | ) |
Condition is true.
Reimplemented from Dragengine.ConversationSystem.ConversationCondition.
References addCondition(), evaluate(), forEachCondition(), getOperator(), new(), pConditions, Dragengine.LoadSave.Persistable.persistencyFactoryName(), pOperator, setOperator(), and Dragengine.LoadSave.Persistable.writeObjectToFile().
Referenced by evaluate().
| void Dragengine.ConversationSystem.CConditionLogic.forEachCondition | ( | Block | aBlock | ) |
| Operator Dragengine.ConversationSystem.CConditionLogic.getOperator | ( | ) |
Referenced by evaluate().
| CConditionLogic Dragengine.ConversationSystem.CConditionLogic.new | ( | ) |
Create conversation condition.
Reimplemented from Dragengine.ConversationSystem.ConversationCondition.
References pConditions.
Referenced by addCondition(), evaluate(), new(), and setOperator().
| CConditionLogic Dragengine.ConversationSystem.CConditionLogic.new | ( | PersistencyEnvironment | env, |
| FileReader | reader ) |
Read from file.
References new(), pConditions, and pOperator.
| void Dragengine.ConversationSystem.CConditionLogic.setOperator | ( | Operator | operator | ) |
| Array Dragengine.ConversationSystem.CConditionLogic.pConditions |
Referenced by addCondition(), evaluate(), new(), and new().
| Operator Dragengine.ConversationSystem.CConditionLogic.pOperator |
Referenced by evaluate(), forEachCondition(), and new().