Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.ConversationPlaybackLane Class Reference

Conversation playback lane. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationPlaybackLane:

Public Member Functions

void clear ()
 Clear.
 
float getElapsedActionWaiting ()
 Elapsed action waiting time in seconds.
 
ConversationPlaybackLayer getLayerAt (int index)
 Layer at index where index is counted from the top.
 
int getLayerCount ()
 Count of layers.
 
ConversationAction getNextAction ()
 Next action or null if top layer is finished.
 
ConversationPlaybackLayer getTopLayer ()
 Top layer.
 
bool getWaitingForAction ()
 Waiting for action to begin.
 
bool hasNextAction ()
 Next action is present.
 
bool isMainLane ()
 Lane is main lane.
 
ConversationPlaybackLane new (bool isMainLane)
 Create conversation playback lane.
 
ConversationPlaybackLane new (bool isMainLane, ConversationPlaybackLayer layer)
 Create conversation playback lane with layer.
 
ConversationPlaybackLane new (PersistencyEnvironment env, FileReader reader, bool isMainLane)
 Load conversation playback lane from file.
 
void popLayer ()
 Pop top layer off stack.
 
void processActions (ConversationPlayback playback, float elapsed, bool skipDelay)
 Process actions.
 
void pushLayer (ConversationPlaybackLayer layer)
 Push layer to top of stack.
 
void removeAllLayers ()
 Remove all layers.
 
void setElapsedActionWaiting (float time)
 Set elapsed action waiting time in seconds.
 
void setWaitingForAction (bool waiting)
 Set waiting for action to begin.
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write lane to file.
 

Public Attributes

float pActionTime
 
bool pActionWaiting
 
bool pIsMainLane
 
Array pLayers
 

Detailed Description

Conversation playback lane.

Version
1.28

Member Function Documentation

◆ clear()

void Dragengine.ConversationSystem.ConversationPlaybackLane.clear ( )

Clear.

◆ getElapsedActionWaiting()

float Dragengine.ConversationSystem.ConversationPlaybackLane.getElapsedActionWaiting ( )

Elapsed action waiting time in seconds.

◆ getLayerAt()

ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlaybackLane.getLayerAt ( int  index)

Layer at index where index is counted from the top.

◆ getLayerCount()

int Dragengine.ConversationSystem.ConversationPlaybackLane.getLayerCount ( )

Count of layers.

◆ getNextAction()

ConversationAction Dragengine.ConversationSystem.ConversationPlaybackLane.getNextAction ( )

Next action or null if top layer is finished.

◆ getTopLayer()

ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlaybackLane.getTopLayer ( )

Top layer.

◆ getWaitingForAction()

bool Dragengine.ConversationSystem.ConversationPlaybackLane.getWaitingForAction ( )

Waiting for action to begin.

◆ hasNextAction()

bool Dragengine.ConversationSystem.ConversationPlaybackLane.hasNextAction ( )

Next action is present.

◆ isMainLane()

bool Dragengine.ConversationSystem.ConversationPlaybackLane.isMainLane ( )

Lane is main lane.

◆ new() [1/3]

ConversationPlaybackLane Dragengine.ConversationSystem.ConversationPlaybackLane.new ( bool  isMainLane)

Create conversation playback lane.

◆ new() [2/3]

ConversationPlaybackLane Dragengine.ConversationSystem.ConversationPlaybackLane.new ( bool  isMainLane,
ConversationPlaybackLayer  layer 
)

Create conversation playback lane with layer.

◆ new() [3/3]

ConversationPlaybackLane Dragengine.ConversationSystem.ConversationPlaybackLane.new ( PersistencyEnvironment  env,
FileReader  reader,
bool  isMainLane 
)

Load conversation playback lane from file.

◆ popLayer()

void Dragengine.ConversationSystem.ConversationPlaybackLane.popLayer ( )

Pop top layer off stack.

◆ processActions()

void Dragengine.ConversationSystem.ConversationPlaybackLane.processActions ( ConversationPlayback  playback,
float  elapsed,
bool  skipDelay 
)

Process actions.

Warning
Call only if lane is the active lane.

◆ pushLayer()

void Dragengine.ConversationSystem.ConversationPlaybackLane.pushLayer ( ConversationPlaybackLayer  layer)

Push layer to top of stack.

◆ removeAllLayers()

void Dragengine.ConversationSystem.ConversationPlaybackLane.removeAllLayers ( )

Remove all layers.

◆ setElapsedActionWaiting()

void Dragengine.ConversationSystem.ConversationPlaybackLane.setElapsedActionWaiting ( float  time)

Set elapsed action waiting time in seconds.

◆ setWaitingForAction()

void Dragengine.ConversationSystem.ConversationPlaybackLane.setWaitingForAction ( bool  waiting)

Set waiting for action to begin.

◆ writeToFile()

void Dragengine.ConversationSystem.ConversationPlaybackLane.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write lane to file.

Member Data Documentation

◆ pActionTime

float Dragengine.ConversationSystem.ConversationPlaybackLane.pActionTime

◆ pActionWaiting

bool Dragengine.ConversationSystem.ConversationPlaybackLane.pActionWaiting

◆ pIsMainLane

bool Dragengine.ConversationSystem.ConversationPlaybackLane.pIsMainLane

◆ pLayers

Array Dragengine.ConversationSystem.ConversationPlaybackLane.pLayers

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