Game2d PackageΒΆ

The game classes provide functionality for a simple animated game. They provide the base classes for the view and the primary controller. To create a game, you should subclass the GameApp and invoke the run() method.

Some classes, such as GView and GInput should never be subclasses or instantiated. There should only be one object of these classes, and those objects are presented as attributes in the GameApp class.

All other classes, particular the classes for drawing solid and path shapes, should be subclassed or instantiated as necessary.

Return to top level