vooga.games.tronlegacy
Class MainGameState

java.lang.Object
  extended by vooga.engine.state.GameState
      extended by vooga.games.tronlegacy.MainGameState

public class MainGameState
extends GameState


Field Summary
 
Fields inherited from class vooga.engine.state.GameState
myRenderField, myUpdateField
 
Constructor Summary
MainGameState()
           
 
Method Summary
 void checkLevelStatus()
           
 void deployLevel(int targetLevel)
           
 void deployPlayerBlocks()
           
 void initialize()
          The initialize method sets up specific variables and parameters necessary to the specific functioning of the GameState.
 void initialize(Blah currentGame)
           
 void initializePlayers()
           
 void render(java.awt.Graphics2D g)
          Renders all sprites stored in the GameState's renderGroups.
 void resetPlayers()
           
 void update(long elapsedTime)
          Updates all sprites stored in the GameState' updateGroups.
 
Methods inherited from class vooga.engine.state.GameState
activate, addGroup, addPlayField, addRenderPlayField, addRenderState, addState, addUpdatePlayField, addUpdateState, deactivate, equals, getGroup, getRenderField, getUpdateField, isActive, removeEverything
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainGameState

public MainGameState()
Method Detail

initialize

public void initialize(Blah currentGame)

initializePlayers

public void initializePlayers()

deployLevel

public void deployLevel(int targetLevel)

deployPlayerBlocks

public void deployPlayerBlocks()

resetPlayers

public void resetPlayers()

checkLevelStatus

public void checkLevelStatus()

render

public void render(java.awt.Graphics2D g)
Description copied from class: GameState
Renders all sprites stored in the GameState's renderGroups.

Overrides:
render in class GameState

update

public void update(long elapsedTime)
Description copied from class: GameState
Updates all sprites stored in the GameState' updateGroups.

Overrides:
update in class GameState

initialize

public void initialize()
Description copied from class: GameState
The initialize method sets up specific variables and parameters necessary to the specific functioning of the GameState. This should include all of the necessary initialization for the GameState's specific use, rather than anything broadly required for all GameStates.

Specified by:
initialize in class GameState