Drag[en]gine Script Module DragonScript Script API  1.0
DefaultPreloadListener Class Reference

Default implementation of listener for objects supporting preloading. More...

Inheritance diagram for DefaultPreloadListener:
PreloadListener

Public Member Functions

DefaultPreloadListener new ()
 Create preload listener. More...
 
void preloadingFinished (Preloader preloader, bool success)
 Preloading of all resources finished. More...
 
void resourcesFinished (Preloader preloader)
 One or more resources finished preloading but. More...
 

Detailed Description

Default implementation of listener for objects supporting preloading.

Author
Roland Pl├╝ss
Date
2016

Member Function Documentation

§ new()

Create preload listener.

§ preloadingFinished()

void preloadingFinished ( Preloader  preloader,
bool  success 
)

Preloading of all resources finished.

Parameters
preloaderPreloader sending event.
successIf true all resources preloaded successfully and the object is ready to use. If false one or more resources failed to preload and the object is potentially invalid to use safely.

Implements PreloadListener.

§ resourcesFinished()

void resourcesFinished ( Preloader  preloader)

One or more resources finished preloading but.

Parameters
preloaderPreloader sending event.

Implements PreloadListener.


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