Drag[en]gine Script Module DragonScript
1.23
|
If-case for a if-else conversation action. More...
Public Member Functions | |
void | addAction (ConversationAction action) |
Adds an action. More... | |
void | forEachAction (Block aBlock) |
Visits all actions. More... | |
Array | getActions () |
Actions. More... | |
ConversationCondition | getCondition () |
Condition or null if not set. More... | |
ConversationActionIterator | getIteratorActions () |
Actions iterator. More... | |
CActionIfElseCase | new () |
Create conversation action. More... | |
void | setCondition (ConversationCondition condition) |
Set condition or null if not set. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Write object to file writer. More... | |
Static Public Member Functions | |
static CActionIfElseCase | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read from file. More... | |
Public Attributes | |
Array | pActions |
ConversationCondition | pCondition |
If-case for a if-else conversation action.
void Dragengine.ConversationSystem.CActionIfElseCase.addAction | ( | ConversationAction | action | ) |
Adds an action.
void Dragengine.ConversationSystem.CActionIfElseCase.forEachAction | ( | Block | aBlock | ) |
Visits all actions.
Array Dragengine.ConversationSystem.CActionIfElseCase.getActions | ( | ) |
Actions.
ConversationCondition Dragengine.ConversationSystem.CActionIfElseCase.getCondition | ( | ) |
Condition or null if not set.
ConversationActionIterator Dragengine.ConversationSystem.CActionIfElseCase.getIteratorActions | ( | ) |
Actions iterator.
CActionIfElseCase Dragengine.ConversationSystem.CActionIfElseCase.new | ( | ) |
Create conversation action.
|
static |
Read from file.
void Dragengine.ConversationSystem.CActionIfElseCase.setCondition | ( | ConversationCondition | condition | ) |
Set condition or null if not set.
void Dragengine.ConversationSystem.CActionIfElseCase.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write object to file writer.
Array Dragengine.ConversationSystem.CActionIfElseCase.pActions |
ConversationCondition Dragengine.ConversationSystem.CActionIfElseCase.pCondition |