Returns the number of game updates per second your game is designed for.
Implement this to draw.
Returns the first screen of your game.
Forces a redraw even if update returns false
Returns the main game window. This function will only be called once if you use runGame. You should return a window here like one created with create2dWindow.
Override this and return true if you are compatible with separate render and update threads.
Shows the given screen, making it actively responsible for drawing and updating, optionally through the given transition effect.
Implement this to update your game state by a single fixed timestep. You should check for user input state here.
Override this and return true to initialize the audio system. If you return true here, the audio member can be used.
This is the base class for your game. Create a class based on this, then pass it to runGame.