Drag[en]gine Script Module DragonScript  1.21
Dragengine.ConversationSystem.ConversationStrip Class Reference

ID duration in a conversation script. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationStrip:

Public Member Functions

float getDuration ()
 
StringID getID ()
 
float getPause ()
 
ConversationStrip new (StringID id, float pause, float duration)
 
void writeToFile (FileWriter writer)
 

Static Public Member Functions

static ConversationStrip readFromFile (FileReader reader)
 

Public Attributes

float pDuration
 
StringID pID
 
float pPause
 

Detailed Description

ID duration in a conversation script.

Member Function Documentation

◆ getDuration()

float Dragengine.ConversationSystem.ConversationStrip.getDuration ( )

Retrieves the duration in seconds of the strip.

◆ getID()

StringID Dragengine.ConversationSystem.ConversationStrip.getID ( )

Retrieves the id to apply during the strip.

◆ getPause()

float Dragengine.ConversationSystem.ConversationStrip.getPause ( )

Retrieves the pause in seconds before the strip starts.

◆ new()

ConversationStrip Dragengine.ConversationSystem.ConversationStrip.new ( StringID  id,
float  pause,
float  duration 
)

Create a new conversation ID duration.

◆ readFromFile()

static ConversationStrip Dragengine.ConversationSystem.ConversationStrip.readFromFile ( FileReader  reader)
static

Reads the strip from a file.

◆ writeToFile()

void Dragengine.ConversationSystem.ConversationStrip.writeToFile ( FileWriter  writer)

Save game state.

Member Data Documentation

◆ pDuration

float Dragengine.ConversationSystem.ConversationStrip.pDuration

◆ pID

StringID Dragengine.ConversationSystem.ConversationStrip.pID

◆ pPause

float Dragengine.ConversationSystem.ConversationStrip.pPause

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