Package jgame.platform

Contains the platform-dependent JGame classes.

See:
          Description

Class Summary
AppConfig A generic class for handling the user configuration of application settings.
JGEngine Contains the main functionality of the game engine.
StdGame A basic framework for a game.
 

Package jgame.platform Description

Contains the platform-dependent JGame classes.

The packages jgame and jgame.platform contain all the classes you need to import to write your own game.

The main classes are jgame.platform.JGEngine (the whole game) and jgame.JGObject (a game object). Sublass these to write your own game. It's handy to have your JGObject classes as inner classes of your JGengine. jgame.JGTimer is used for creating timers in your games. JGImage is an interface defining the cross-platform image methods that are used by JGame but can be used stand-alone as well.

StdGame is a game framework that handles a standard game state machine (startlevel, life lost, game over, etc). It is built as a layer on top of JGEngine.

AppConfig (JRE only) is a stand-alone class that can be used for game configuration. It is used by the JRE version of StdGame for handling keyboard settings. Highscores is a helper class that can be used to implement highscores. It is also used by the JRE version of StdGame.

JGame should also come with a user manual (the file MANUAL). It is distributed under the revised BSD license (see the file LICENSE). More information can be found on the website, http://www.13thmonkey.org/~boris/jgame/