Constructor
Methods
Inherited Variables
Defined by Application
Defined by Module
Inherited Methods
Defined by Application
addRenderer(renderer:Renderer):Void
Adds a new Renderer to the Application. By default, this is called automatically by create()
Parameters:
renderer | A Renderer object to add |
---|
createWindow(window:Window):Void
Adds a new Window to the Application. By default, this is called automatically by create()
Parameters:
window | A Window object to add |
---|
Execute the Application. On native platforms, this method blocks until the application is finished running. On other platforms, it will return immediately
Returns:
An exit code, 0 if there was no error
removeModule(module:IModule):Void
Removes a module from the Application
Parameters:
module | A module to remove |
---|
removeRenderer(renderer:Renderer):Void
Removes a Renderer from the Application
Parameters:
renderer | A Renderer object to remove |
---|