Drag[en]gine Script Module DragonScript
1.21
|
Conversation action processing action list depending on condition checking. More...
Classes | |
class | Factory |
Factory for loading actor actions. More... | |
Public Member Functions | |
void | addCase (CActionIfElseCase ifcase) |
Add if-case. More... | |
void | addElseAction (ConversationAction action) |
Add else action. More... | |
void | execute (ConversationPlayback playback) |
Execute action. More... | |
void | forEachCase (Block aBlock) |
Visits all if-cases. More... | |
void | forEachElseAction (Block aBlock) |
Visit all else actions. More... | |
ConversationActionIterator | getIteratorElseActions () |
Else actions iterator. More... | |
CActionIfElse | new () |
Create conversation action. More... | |
CActionIfElse | new (PersistencyEnvironment env, FileReader reader) |
Read from file. More... | |
void | writeObjectToFile (PersistencyEnvironment env, FileWriter writer) |
Write object to file writer. More... | |
Public Member Functions inherited from Dragengine.ConversationSystem.ConversationAction | |
float | getDelay () |
Delay in seconds before processing this action. More... | |
bool | getWaitForActor () |
Wait for actor. More... | |
String | getWaitForActorID () |
ID of actor to wait for or null to wait for all actors. More... | |
void | setDelay (float delay) |
Set delay in seconds before processing this action. More... | |
void | setWaitForActor (bool wait) |
Set wait for actor. More... | |
void | setWaitForActorID (String id) |
Set ID of actor to wait for or null to wait for all actors. More... | |
Public Member Functions inherited from Dragengine.LoadSave.Persistable | |
String | persistencyFactoryName () |
Name of PersistencyFactory required to load object from file. More... | |
Public Attributes | |
Array | pCases |
Array | pElseActions |
Public Attributes inherited from Dragengine.ConversationSystem.ConversationAction | |
float | pDelay |
Delay before processing the action. More... | |
bool | pWaitForActor |
Wait for actor. More... | |
String | pWaitForActorID |
ID of actor to wait for or null to wait for all actors. More... | |
Conversation action processing action list depending on condition checking.
Executes the first if-case with a condition evaluationg to true or else instead.
void Dragengine.ConversationSystem.CActionIfElse.addCase | ( | CActionIfElseCase | ifcase | ) |
Add if-case.
void Dragengine.ConversationSystem.CActionIfElse.addElseAction | ( | ConversationAction | action | ) |
Add else action.
void Dragengine.ConversationSystem.CActionIfElse.execute | ( | ConversationPlayback | playback | ) |
Execute action.
Reimplemented from Dragengine.ConversationSystem.ConversationAction.
void Dragengine.ConversationSystem.CActionIfElse.forEachCase | ( | Block | aBlock | ) |
Visits all if-cases.
void Dragengine.ConversationSystem.CActionIfElse.forEachElseAction | ( | Block | aBlock | ) |
Visit all else actions.
ConversationActionIterator Dragengine.ConversationSystem.CActionIfElse.getIteratorElseActions | ( | ) |
Else actions iterator.
CActionIfElse Dragengine.ConversationSystem.CActionIfElse.new | ( | ) |
Create conversation action.
Reimplemented from Dragengine.ConversationSystem.ConversationAction.
CActionIfElse Dragengine.ConversationSystem.CActionIfElse.new | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read from file.
Reimplemented from Dragengine.ConversationSystem.ConversationAction.
void Dragengine.ConversationSystem.CActionIfElse.writeObjectToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write object to file writer.
Implements Dragengine.LoadSave.Persistable.
Array Dragengine.ConversationSystem.CActionIfElse.pCases |
Array Dragengine.ConversationSystem.CActionIfElse.pElseActions |