Drag[en]gine Script Module DragonScript Script API  1.0
ConversationPlaybackLayer Class Reference

Layer in a conversation playback. More...

Inheritance diagram for ConversationPlaybackLayer:

Public Member Functions

void advance ()
 Advance to the next action if possible. More...
 
void forwardEnd ()
 Forward to end. More...
 
void forwardLast ()
 Forward to last action. More...
 
ConversationCondition getLoopCondition ()
 Loop condition or null if always true. More...
 
float getLoopEvalConditionInterval ()
 Interval to wait before testing the condition again to improve performance. More...
 
bool getLooping ()
 Actions are looping. More...
 
ConversationAction getNextAction ()
 Next action or null if at the end of the current list. More...
 
bool getTopicTopLevel ()
 Belongs to top level of a topic. More...
 
bool hasNextAction ()
 Not at end of list. More...
 
ConversationPlaybackLayer new (ConversationActionIterator actionIterator)
 Create a new layer. More...
 
void setLoopCondition (ConversationCondition condition)
 Set loop condition or null if always true. More...
 
void setLoopEvalConditionInterval (float interval)
 Set interval to wait before testing the condition again to improve performance. More...
 
void setLooping (bool looping)
 Set actions are looping. More...
 
void setTopicTopLevel (bool topicTopLevel)
 Set if layer belongs to top level of a topic. More...
 
void writeToFile (FileWriter writer, ConversationAction parentAction)
 Write layer to file. More...
 

Static Public Member Functions

static ConversationPlaybackLayer readFromFile (FileReader reader, ConversationAction parentAction)
 Read layer from file. More...
 

Detailed Description

Layer in a conversation playback.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ advance()

void advance ( )

Advance to the next action if possible.

§ forwardEnd()

void forwardEnd ( )

Forward to end.

§ forwardLast()

void forwardLast ( )

Forward to last action.

§ getLoopCondition()

ConversationCondition getLoopCondition ( )

Loop condition or null if always true.

§ getLoopEvalConditionInterval()

float getLoopEvalConditionInterval ( )

Interval to wait before testing the condition again to improve performance.

§ getLooping()

bool getLooping ( )

Actions are looping.

§ getNextAction()

ConversationAction getNextAction ( )

Next action or null if at the end of the current list.

§ getTopicTopLevel()

bool getTopicTopLevel ( )

Belongs to top level of a topic.

§ hasNextAction()

bool hasNextAction ( )

Not at end of list.

§ new()

Create a new layer.

§ readFromFile()

static ConversationPlaybackLayer readFromFile ( FileReader  reader,
ConversationAction  parentAction 
)
static

Read layer from file.

§ setLoopCondition()

void setLoopCondition ( ConversationCondition  condition)

Set loop condition or null if always true.

§ setLoopEvalConditionInterval()

void setLoopEvalConditionInterval ( float  interval)

Set interval to wait before testing the condition again to improve performance.

§ setLooping()

void setLooping ( bool  looping)

Set actions are looping.

§ setTopicTopLevel()

void setTopicTopLevel ( bool  topicTopLevel)

Set if layer belongs to top level of a topic.

§ writeToFile()

void writeToFile ( FileWriter  writer,
ConversationAction  parentAction 
)

Write layer to file.


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