Table of ContentsChapter 12.            The GameGame State

The Game Screen

As you saw in past examples, the GameScreen class serves as the primary controller of your game play. In the following sections, you'll expand the functionality of this class to support different states, the player's ship (including damage and lives), and saving and loading the game.

To start with, take a look at how to better manage the state of the game.

    Table of ContentsChapter 12.            The GameGame State