Drag[en]gine Script Module DragonScript Script API  1.0
LoadSpeechAnimation.LoadedSpeechAnimation Class Reference
Inheritance diagram for LoadSpeechAnimation.LoadedSpeechAnimation:
ResourceNotifier

Public Member Functions

void failedLoading (String path, int resourceType)
 Resource failed loading. More...
 
void finishedLoading (String path, int resourceType, Object resource)
 Resource finished loading successfully. More...
 
Console getConsole ()
 
String getPathFile ()
 
SpeechAnimation getSpeechAnimation ()
 
LoadedSpeechAnimation new (String pathFile, SpeechAnimation speechAnimation, Console console)
 
void preloadResources ()
 
Notification

Detailed Description

Class for holding loaded speech animations using the filename as unique identifier.

Member Function Documentation

§ failedLoading()

void failedLoading ( String  filename,
int  resourceType 
)

Resource failed loading.

Parameters
filenameFilename used to load the resource.
resourceTypeValue from ResourceManager resource type constants.

Implements ResourceNotifier.

§ finishedLoading()

void finishedLoading ( String  filename,
int  resourceType,
Object  resource 
)

Resource finished loading successfully.

Parameters
filenameFilename used to load the resource.
resourceTypeValue from ResourceManager resource type constants.
resourceLoaded resource.

Implements ResourceNotifier.

§ getConsole()

Console getConsole ( )

§ getPathFile()

String getPathFile ( )

§ getSpeechAnimation()

SpeechAnimation getSpeechAnimation ( )

§ new()

LoadedSpeechAnimation new ( String  pathFile,
SpeechAnimation  speechAnimation,
Console  console 
)

§ preloadResources()

void preloadResources ( )

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