Drag[en]gine Script Module DragonScript  1.21
Dragengine.ConversationSystem.CConditionLogic Class Reference

Conversation condition logic operator. More...

Inheritance diagram for Dragengine.ConversationSystem.CConditionLogic:
Dragengine.ConversationSystem.ConversationCondition Dragengine.LoadSave.Persistable

Classes

class  Factory
 Factory for loading actor actions. More...
 
enum  Operator
 Logic operators. More...
 

Public Member Functions

void addCondition (ConversationCondition condition)
 Add condition. More...
 
bool evaluate (ConversationPlayback playback)
 Condition is true. More...
 
void forEachCondition (Block aBlock)
 Visit conditions. More...
 
Operator getOperator ()
 Operator. More...
 
CConditionLogic new ()
 Create conversation condition. More...
 
CConditionLogic new (PersistencyEnvironment env, FileReader reader)
 Read from file. More...
 
void setOperator (Operator operator)
 Set operator. More...
 
- Public Member Functions inherited from Dragengine.LoadSave.Persistable
String persistencyFactoryName ()
 Name of PersistencyFactory required to load object from file. More...
 
void writeObjectToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer. More...
 

Public Attributes

Array pConditions
 
Operator pOperator
 

Detailed Description

Conversation condition logic operator.

Member Function Documentation

◆ addCondition()

void Dragengine.ConversationSystem.CConditionLogic.addCondition ( ConversationCondition  condition)

Add condition.

◆ evaluate()

bool Dragengine.ConversationSystem.CConditionLogic.evaluate ( ConversationPlayback  playback)

Condition is true.

Reimplemented from Dragengine.ConversationSystem.ConversationCondition.

◆ forEachCondition()

void Dragengine.ConversationSystem.CConditionLogic.forEachCondition ( Block  aBlock)

Visit conditions.

◆ getOperator()

Operator Dragengine.ConversationSystem.CConditionLogic.getOperator ( )

◆ new() [1/2]

CConditionLogic Dragengine.ConversationSystem.CConditionLogic.new ( )

Create conversation condition.

Reimplemented from Dragengine.ConversationSystem.ConversationCondition.

◆ new() [2/2]

CConditionLogic Dragengine.ConversationSystem.CConditionLogic.new ( PersistencyEnvironment  env,
FileReader  reader 
)

Read from file.

◆ setOperator()

void Dragengine.ConversationSystem.CConditionLogic.setOperator ( Operator  operator)

Set operator.

Member Data Documentation

◆ pConditions

Array Dragengine.ConversationSystem.CConditionLogic.pConditions

◆ pOperator

Operator Dragengine.ConversationSystem.CConditionLogic.pOperator

The documentation for this class was generated from the following file: