|
Drag[en]gine Script Module DragonScript 1.32.1
|
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. | |
| void | addElseAction (ConversationAction action) |
| Add else action. | |
| void | execute (ConversationPlayback playback) |
| Execute action. | |
| void | forEachCase (Block aBlock) |
| Visits all if-cases. | |
| void | forEachElseAction (Block aBlock) |
| Visit all else actions. | |
| Array | getElseActions () |
| Else actions as Array of ConversationAction. | |
| ConversationActionIterator | getIteratorElseActions () |
| Else actions iterator. | |
| CActionIfElse | new () |
| Create conversation action. | |
| CActionIfElse | new (PersistencyEnvironment env, FileReader reader) |
| Read from file. | |
| void | writeObjectToFile (PersistencyEnvironment env, FileWriter writer) |
| Write object to file writer. | |
Public Member Functions inherited from Dragengine.ConversationSystem.ConversationAction | |
| float | getDelay () |
| Delay in seconds before processing this action. | |
| bool | getWaitForActor () |
| Wait for actor. | |
| String | getWaitForActorID () |
| ID of actor to wait for or null to wait for all actors. | |
| bool | getWaitSpeakOnly () |
| Waiting considers only actor speaking not actor waiting. | |
| void | setDelay (float delay) |
| Set delay in seconds before processing this action. | |
| void | setWaitForActor (bool wait) |
| Set wait for actor. | |
| void | setWaitForActorID (String id) |
| Set ID of actor to wait for or null to wait for all actors. | |
| void | setWaitSpeakOnly (bool speakOnly) |
| Set waiting considers only actor speaking not actor waiting. | |
Public Attributes | |
| Array | pCases |
| Array | pElseActions |
Public Attributes inherited from Dragengine.ConversationSystem.ConversationAction | |
| float | pDelay |
| bool | pWaitForActor |
| String | pWaitForActorID |
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.
| Array Dragengine.ConversationSystem.CActionIfElse.getElseActions | ( | ) |
Else actions as Array of ConversationAction.
| 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.
| Array Dragengine.ConversationSystem.CActionIfElse.pCases |
| Array Dragengine.ConversationSystem.CActionIfElse.pElseActions |