Drag[en]gine Script Module DragonScript
1.23
|
Basic implementation of application class for use by testing applications. More...
Public Member Functions | |
void | cleanUp () |
Clean up application. More... | |
Console | getConsole () |
Console object. More... | |
Desktop | getDesktop () |
Desktop widget. More... | |
Loaders | getLoaders () |
Loaders. More... | |
WindowTesting | getWindowTesting () |
Testing window. More... | |
void | initGame () |
Init application. More... | |
void | inputEvent (InputEvent event) |
Process input event. More... | |
BaseGameAppTesting | new () |
Create Application. More... | |
void | onFrameUpdate () |
Frame update. More... | |
void | onResizeRenderWindow () |
Render window size changed. More... | |
void | userRequestedQuit () |
User requested window to be closed. More... | |
Public Member Functions inherited from Dragengine.Game | |
void | onAppActivate () |
Called after the application received or lost focus. More... | |
int | getArgumentCount () |
Number of command line arguments given to the game. More... | |
String | getArgumentAt (int index) |
Command line argument given to the game. More... | |
String | getRestartInfo () |
Information passed to Engine.restart(String) before restarting. More... | |
Static Public Member Functions | |
static BaseGameAppTesting | getApp () |
The one and only application object. More... | |
Protected Member Functions | |
void | addTestSuites () |
Add test suites to test window. More... | |
Desktop | createDesktop () |
Create desktop. More... | |
WindowTesting | createWindowTesting () |
Create testing window. More... | |
Constructors |
Basic implementation of application class for use by testing applications.
Creates a Desktop and WindowTesting instance. Subclass can add TestSuite to the window. Using the window the tests can be run.
|
protected |
Add test suites to test window.
void Dragengine.TestSystem.BaseGameAppTesting.cleanUp | ( | ) |
Clean up application.
Reimplemented from Dragengine.Game.
|
protected |
Create desktop.
Default implementation creates instance of Desktop. Return null to not create a desktop for example for CI use.
|
protected |
Create testing window.
Default implementation creates instance of WindowTesting. Return null to use your own window or none at all for example for CI use.
|
static |
The one and only application object.
Console Dragengine.TestSystem.BaseGameAppTesting.getConsole | ( | ) |
Console object.
Desktop Dragengine.TestSystem.BaseGameAppTesting.getDesktop | ( | ) |
Desktop widget.
Loaders Dragengine.TestSystem.BaseGameAppTesting.getLoaders | ( | ) |
Loaders.
WindowTesting Dragengine.TestSystem.BaseGameAppTesting.getWindowTesting | ( | ) |
Testing window.
void Dragengine.TestSystem.BaseGameAppTesting.initGame | ( | ) |
Init application.
Reimplemented from Dragengine.Game.
void Dragengine.TestSystem.BaseGameAppTesting.inputEvent | ( | InputEvent | event | ) |
Process input event.
Reimplemented from Dragengine.Game.
BaseGameAppTesting Dragengine.TestSystem.BaseGameAppTesting.new | ( | ) |
Create Application.
Reimplemented from Dragengine.Game.
void Dragengine.TestSystem.BaseGameAppTesting.onFrameUpdate | ( | ) |
Frame update.
Reimplemented from Dragengine.Game.
void Dragengine.TestSystem.BaseGameAppTesting.onResizeRenderWindow | ( | ) |
Render window size changed.
Reimplemented from Dragengine.Game.
void Dragengine.TestSystem.BaseGameAppTesting.userRequestedQuit | ( | ) |
User requested window to be closed.
Reimplemented from Dragengine.Game.