Skip to main content

GameController

Complete API reference for GameController, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Platform

Component: no


public class GameController

Virtual Attributes

NameTypeAccessDescription
enableFrameLimitbooleanget/setChecks if frame limit is enabled.
limitFramesintget/setReturns the maximum number of frames per second allowed.

Static Methods

SignatureReturnsDescription
quit()voidQuits the game and closes the application (Only in APK).
getState()StateReturns the current state of the game (Stopped, Paused, or Running).