Skip to main content

GameController

class GameController

The GameController class is responsible for controlling the current state of the game, such as defining when to close the game.


public class GameController

— Methods (2) —

NameDescription
void quit()Close the game.
[State] getState()Returns the current game state "Stopped", "Paused", "Running".