vooga.games.tronupdate.state
Class SetNumMatchesState

java.lang.Object
  extended by vooga.engine.state.GameState
      extended by vooga.games.tronupdate.state.SetNumMatchesState

public class SetNumMatchesState
extends GameState


Field Summary
 
Fields inherited from class vooga.engine.state.GameState
myRenderField, myUpdateField
 
Constructor Summary
SetNumMatchesState(Game game, GameStateManager gameStateManager)
           
 
Method Summary
 void initialize()
          The initialize method sets up specific variables and parameters necessary to the specific functioning of the GameState.
 void initializeEvents()
           
 void render(java.awt.Graphics2D g)
          Renders all sprites stored in the GameState's renderGroups.
 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

SetNumMatchesState

public SetNumMatchesState(Game game,
                          GameStateManager gameStateManager)
Method Detail

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

initializeEvents

public void initializeEvents()

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