Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.

References getPause(), and pPause.

Referenced by writeToFile().

◆ getID()

StringID Dragengine.ConversationSystem.ConversationStrip.getID ( )

Retrieves the id to apply during the strip.

Referenced by getPause().

◆ getPause()

float Dragengine.ConversationSystem.ConversationStrip.getPause ( )

Retrieves the pause in seconds before the strip starts.

References getID(), and pID.

Referenced by getDuration().

◆ new()

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

Create a new conversation ID duration.

References new(), pDuration, pID, and pPause.

Referenced by new().

◆ readFromFile()

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

Reads the strip from a file.

Referenced by writeToFile().

◆ writeToFile()

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

Save game state.

References getDuration(), pDuration, pID, pPause, readFromFile(), and writeToFile().

Referenced by writeToFile().

Member Data Documentation

◆ pDuration

float Dragengine.ConversationSystem.ConversationStrip.pDuration

Referenced by new(), and writeToFile().

◆ pID

StringID Dragengine.ConversationSystem.ConversationStrip.pID

Referenced by getPause(), new(), and writeToFile().

◆ pPause

float Dragengine.ConversationSystem.ConversationStrip.pPause

Referenced by getDuration(), new(), and writeToFile().


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