Drag[en]gine Script Module DragonScript Script API  1.0
PreloadManager Class Reference
Inheritance diagram for PreloadManager:

Public Member Functions

void addElementClass (ElementClass elementClass)
 
void addElementClassDependencies ()
 
void addGameWorldStub (StubGameWorld stub)
 
PreloadManager new ()
 
void preloadElementClasses ()
 
void removeAllElementClasses ()
 
void removeGameWorldStub (StubGameWorld stub)
 

Detailed Description

Manages preloading of resources.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ addElementClass()

void addElementClass ( ElementClass  elementClass)

Adds an element class if not existing already.

§ addElementClassDependencies()

void addElementClassDependencies ( )

Adds element classes the registered classes depend upon. Call this function before calling the preloadElementClasses function to ensure that all elment classes do work properly once ingame.

§ addGameWorldStub()

void addGameWorldStub ( StubGameWorld  stub)

Adds a game world stub. The resources inside the game world stub are also added to the preload manager itself.

§ new()

PreloadManager new ( )

Creates a new PreloadManager object.

§ preloadElementClasses()

void preloadElementClasses ( )

Preloads element classes.

§ removeAllElementClasses()

void removeAllElementClasses ( )

Removes all element classes.

§ removeGameWorldStub()

void removeGameWorldStub ( StubGameWorld  stub)

Removes a game world stub.


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