|
Drag[en]gine Script Module DragonScript 1.32.1
|
Basic implementation of application class for use by testing applications. More...
Public Member Functions | |
| void | cleanUp () |
| Clean up application. | |
| Console | getConsole () |
| Console object. | |
| Desktop | getDesktop () |
| Desktop widget. | |
| Loaders | getLoaders () |
| Loaders. | |
| WindowTesting | getWindowTesting () |
| Testing window. | |
| void | initGame () |
| Init application. | |
| void | inputEvent (InputEvent event) |
| Process input event. | |
| BaseGameAppTesting | new () |
| Create Application. | |
| void | onFrameUpdate () |
| Frame update. | |
| void | onResizeRenderWindow () |
| Render window size changed. | |
| void | userRequestedQuit () |
| User requested window to be closed. | |
Public Member Functions inherited from Dragengine.Game | |
| void | onAppActivate () |
| Called after the application received or lost focus. | |
| int | getArgumentCount () |
| Number of command line arguments given to the game. | |
| String | getArgumentAt (int index) |
| Command line argument given to the game. | |
| String | getRestartInfo () |
| Information passed to Engine::restart(String) before restarting. | |
Static Public Member Functions | |
| static BaseGameAppTesting | getApp () |
| The one and only application object. | |
Protected Member Functions | |
| void | addTestSuites () |
| Add test suites to test window. | |
| Desktop | createDesktop () |
| Create desktop. | |
| WindowTesting | createWindowTesting () |
| Create testing window. | |
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.