vooga.games.galaxyinvaders
Class Blah
java.lang.Object
com.golden.gamedev.Game
vooga.engine.core.Game
vooga.games.galaxyinvaders.Blah
public class Blah
- extends Game
The GalaxyInvaders class is the main Game class for Galaxy Invaders. It keeps track of the sprites,
and has update called every turn by GoldenT, from which it calls update methods on all its sprite
groups. There are no command line arguments to run GalaxyInvaders.
Constructor Summary |
Blah()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Blah
public Blah()
initResources
public void initResources()
- Method inherited from Game. Initializes the game state and all the sprites in the game.
- Overrides:
initResources
in class Game
update
public void update(long elapsed)
- Overrides:
update
in class Game
getPlayGameState
public GameState getPlayGameState()
- Description copied from class:
Game
- this method gets the play game state
- Overrides:
getPlayGameState
in class Game
- Returns:
pauseGame
public void pauseGame()
resumeGame
public void resumeGame()
gameOver
public void gameOver()
startNewGame
public void startNewGame()
switchLevel
public void switchLevel()
main
public static void main(java.lang.String[] args)
- Java main method
- Parameters:
args
- do nothing