|
Drag[en]gine Script Module DragonScript 1.32.1
|
Layer in a conversation playback. More...
Public Member Functions | |
| void | advance () |
| Advance to the next action if possible. | |
| void | cancelLooping () |
| Cancel looping. | |
| void | forwardEnd () |
| Forward to end. | |
| void | forwardFirst () |
| Forward to first action. | |
| void | forwardLast () |
| Forward to last action. | |
| ConversationCondition | getLoopCondition () |
| Loop condition or null if always true. | |
| float | getLoopEvalConditionInterval () |
| Interval to wait before testing the condition again to improve performance. | |
| bool | getLooping () |
| Actions are looping. | |
| ConversationAction | getNextAction () |
| Next action or null if at the end of the current list. | |
| bool | getTopicTopLevel () |
| Belongs to top level of a topic. | |
| bool | hasNextAction () |
| Not at end of list. | |
| ConversationPlaybackLayer | new (ConversationActionIterator iterator) |
| Create a new layer. | |
| ConversationPlaybackLayer | new (ConversationActionIterator iterator, bool advance) |
| Create a new layer. | |
| void | setLoopCondition (ConversationCondition condition) |
| Set loop condition or null if always true. | |
| void | setLoopEvalConditionInterval (float interval) |
| Set interval to wait before testing the condition again to improve performance. | |
| void | setLooping (bool looping) |
| Set actions are looping. | |
| void | setTopicTopLevel (bool topicTopLevel) |
| Set if layer belongs to top level of a topic. | |
| void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
| Write layer to file. | |
Static Public Member Functions | |
| static ConversationPlaybackLayer | readFromFile (PersistencyEnvironment env, FileReader reader) |
| Read layer from file. | |
Public Attributes | |
| ConversationActionIterator | pActionIterator |
| ConversationCondition | pLoopCondition |
| float | pLoopEvalConditionInterval |
| bool | pLooping |
| ConversationAction | pNextAction |
| bool | pTopicTopLevel |
Layer in a conversation playback.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.advance | ( | ) |
Advance to the next action if possible.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.cancelLooping | ( | ) |
Cancel looping.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.forwardEnd | ( | ) |
Forward to end.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.forwardFirst | ( | ) |
Forward to first action.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.forwardLast | ( | ) |
Forward to last action.
| ConversationCondition Dragengine.ConversationSystem.ConversationPlaybackLayer.getLoopCondition | ( | ) |
Loop condition or null if always true.
| float Dragengine.ConversationSystem.ConversationPlaybackLayer.getLoopEvalConditionInterval | ( | ) |
Interval to wait before testing the condition again to improve performance.
| bool Dragengine.ConversationSystem.ConversationPlaybackLayer.getLooping | ( | ) |
Actions are looping.
| ConversationAction Dragengine.ConversationSystem.ConversationPlaybackLayer.getNextAction | ( | ) |
Next action or null if at the end of the current list.
| bool Dragengine.ConversationSystem.ConversationPlaybackLayer.getTopicTopLevel | ( | ) |
Belongs to top level of a topic.
| bool Dragengine.ConversationSystem.ConversationPlaybackLayer.hasNextAction | ( | ) |
Not at end of list.
| ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlaybackLayer.new | ( | ConversationActionIterator | iterator | ) |
Create a new layer.
Sets the next action to the first iterator action and advances the iterator.
| ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlaybackLayer.new | ( | ConversationActionIterator | iterator, |
| bool | advance | ||
| ) |
Create a new layer.
| iterator | Action iterator to use. |
| advance | If true sets the next action to the first iterator action and advances the iterator. If false the iterator is not advanced and the next action is set to null. |
|
static |
Read layer from file.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.setLoopCondition | ( | ConversationCondition | condition | ) |
Set loop condition or null if always true.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.setLoopEvalConditionInterval | ( | float | interval | ) |
Set interval to wait before testing the condition again to improve performance.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.setLooping | ( | bool | looping | ) |
Set actions are looping.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.setTopicTopLevel | ( | bool | topicTopLevel | ) |
Set if layer belongs to top level of a topic.
| void Dragengine.ConversationSystem.ConversationPlaybackLayer.writeToFile | ( | PersistencyEnvironment | env, |
| FileWriter | writer | ||
| ) |
Write layer to file.
| ConversationActionIterator Dragengine.ConversationSystem.ConversationPlaybackLayer.pActionIterator |
| ConversationCondition Dragengine.ConversationSystem.ConversationPlaybackLayer.pLoopCondition |
| float Dragengine.ConversationSystem.ConversationPlaybackLayer.pLoopEvalConditionInterval |
| bool Dragengine.ConversationSystem.ConversationPlaybackLayer.pLooping |
| ConversationAction Dragengine.ConversationSystem.ConversationPlaybackLayer.pNextAction |
| bool Dragengine.ConversationSystem.ConversationPlaybackLayer.pTopicTopLevel |