|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
BetterSprite | The vooga.engine.core.Sprite class can represent any renderable object in the game environment. |
BetterSpriteException | |
Game | Extension of the Golden T game to automate some Vooga API functionality. |
PlayField | Extension of the Golden T Playfield to allow addition of OverlayTracker to the Playfield. |
Extension of the Golden T game to automate some Vooga API functionality.
InitResources() automatically loads all resources associated with the resources.xml file (or the game.properties file) in your game's resources package.
It also now has a built in GameStateManager which is automatically initialized in initResources. The initialization behavior can be changed by overriding initGameStates. The update and render methods call update and render for this GameStateManager.
The game also automatically loads the initial level using the Level XML parser
All subclasses should override initResources() and implement a main method that calls launch(). The initResources() method should first call super.initResources() and then initialize all the game states. An example is shown below:
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |