|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.golden.gamedev.Game
vooga.engine.core.Game
vooga.games.jumper.Blah
public class Blah
This is an example game called Jumper that we created to demonstrate the VOOGA Game Engine. The purpose of the game is to move your "Doodle" around to avoid getting carried out of the top of the screen for as long as possible by using the left and right arrow keys to avoid blocks. CHEAT CODE: press "C" to move your "Doodle" to the bottom of the screen
Field Summary |
---|
Fields inherited from class vooga.engine.core.Game |
---|
levelParser, myCurrentLevel, myPlayState, stateManager |
Constructor Summary | |
---|---|
Blah()
|
Method Summary | |
---|---|
void |
deathGame()
Activate the deathstate gamestate |
void |
initResources()
Initialize all of the game instance variables |
static void |
main(java.lang.String[] args)
Main method which loads the game |
void |
pauseGame()
Activate the pausestate gamestate |
void |
resumeGame()
Active the playstate gamestate |
void |
update(long elapsedTime)
|
Methods inherited from class vooga.engine.core.Game |
---|
addGameState, getCurrentLevel, getGameStateManager, getPlayGameState, getResourceXMLPath, initGameStates, initSoundPlayer, launch, render, setAsPlayGameState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Blah()
Method Detail |
---|
public void initResources()
initResources
in class Game
public void resumeGame()
public void pauseGame()
public void deathGame()
public static void main(java.lang.String[] args)
args
- String[] of arguments from the command linepublic void update(long elapsedTime)
update
in class Game
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |