GameController
Complete API reference for GameController, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Platform
Component: no
public class GameController
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
enableFrameLimit | boolean | get/set | Checks if frame limit is enabled. |
limitFrames | int | get/set | Returns the maximum number of frames per second allowed. |
Static Methods
| Signature | Returns | Description |
|---|---|---|
quit() | void | Quits the game and closes the application (Only in APK). |
getState() | State | Returns the current state of the game (Stopped, Paused, or Running). |