|
|||||||||
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.tron.DropThis
public class DropThis
Field Summary | |
---|---|
ColorBackground |
backGround
|
Fields inherited from class vooga.engine.core.Game |
---|
levelParser, myCurrentLevel, myPlayState, stateManager |
Constructor Summary | |
---|---|
DropThis()
|
Method Summary | |
---|---|
void |
afterCollision()
handles what happens after a collision happens (game over phase) |
void |
buildBlockWall()
fills in the grid spaces behind the players with collidable blocks. |
void |
createRandomBonus()
create random bonuses for the level |
void |
createRandomLevelBlocks()
create random obstacle blocks for the level |
void |
initializeBlocks()
initialize the blocks |
void |
initializeCollisionManagers()
Initialize the collision managers |
void |
initializeNewLevel()
Create a random level with random blocks |
void |
initializePlayfield()
Initialize the playfield |
void |
initResources()
Initializing the resources, initializing the game |
static void |
main(java.lang.String[] args)
|
void |
render(java.awt.Graphics2D g)
render the graphics |
void |
update(long elapsedTime)
Update the frames |
Methods inherited from class vooga.engine.core.Game |
---|
addGameState, getCurrentLevel, getGameStateManager, getPlayGameState, getResourceXMLPath, initGameStates, initSoundPlayer, launch, setAsPlayGameState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ColorBackground backGround
Constructor Detail |
---|
public DropThis()
Method Detail |
---|
public void initResources()
initResources
in class Game
public void initializeNewLevel()
public void createRandomBonus()
public void initializeBlocks()
public void createRandomLevelBlocks()
public void initializePlayfield()
public void initializeCollisionManagers()
public void update(long elapsedTime)
update
in class Game
public void buildBlockWall()
public void afterCollision()
public void render(java.awt.Graphics2D g)
render
in class Game
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |