gs.Application Class
This class provides general application functions.
Constructor
gs.Application
()
final
static
Methods
exit
()
static
Quits the game. It depends on the platform. For example: It has no effect on most smartphones or tablets.
initialize
()
static
Initializes the application. Needs to be called before anything else.
Properties
onExit
Function
static
A callback-function called if the application will exit.
onReady
Function
static
A callback-function called if the application is ready.