Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Gui.WindowGameWorld.Loader Class Reference

Game loader for use with WindowGameWorld. More...

Inheritance diagram for Dragengine.Gui.WindowGameWorld.Loader:

Public Member Functions

void dispose ()
 Dispose of game world loader to break reference loops.
 
WindowGameWorld getWindow ()
 Window to update.
 
Loader new (WindowGameWorld window)
 Create game world loader.
 
Loader new (WindowGameWorld window, Console console, Loaders loaders, ElementClassList elementClassList)
 Create game world loader.
 
Loader new (WindowGameWorld window, Console console, Loaders loaders, ElementClassList elementClassList, MutableID idGenerator)
 Create game world loader.
 
void onLoadWorldFailed ()
 Loading world failed.
 
void onLoadWorldFinished ()
 Loading world finished.
 

Public Attributes

WindowGameWorld pWindow
 

Detailed Description

Game loader for use with WindowGameWorld.

Create subclass to implement your game loading while this class handles the window. If the loading succeeds the loaded game world is set as world in the window. If loading fails null is set as game world in the window.

Member Function Documentation

◆ dispose()

void Dragengine.Gui.WindowGameWorld.Loader.dispose ( )

Dispose of game world loader to break reference loops.

◆ getWindow()

WindowGameWorld Dragengine.Gui.WindowGameWorld.Loader.getWindow ( )

Window to update.

◆ new() [1/3]

Loader Dragengine.Gui.WindowGameWorld.Loader.new ( WindowGameWorld  window)

Create game world loader.

◆ new() [2/3]

Loader Dragengine.Gui.WindowGameWorld.Loader.new ( WindowGameWorld  window,
Console  console,
Loaders  loaders,
ElementClassList  elementClassList 
)

Create game world loader.

◆ new() [3/3]

Loader Dragengine.Gui.WindowGameWorld.Loader.new ( WindowGameWorld  window,
Console  console,
Loaders  loaders,
ElementClassList  elementClassList,
MutableID  idGenerator 
)

Create game world loader.

Version
1.8

◆ onLoadWorldFailed()

void Dragengine.Gui.WindowGameWorld.Loader.onLoadWorldFailed ( )

Loading world failed.

Game loader has been cleaned up before calling this method. It is safe to dispose() of the game loader upon entering this method.

◆ onLoadWorldFinished()

void Dragengine.Gui.WindowGameWorld.Loader.onLoadWorldFinished ( )

Loading world finished.

Game loader has been cleaned up before calling this method. For this reason the result of loading is provided as parameters. It is safe to dispose() of the game loader upon entering this method.

Member Data Documentation

◆ pWindow

WindowGameWorld Dragengine.Gui.WindowGameWorld.Loader.pWindow

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