vooga.games.tronlegacy
Class MainGameState
java.lang.Object
vooga.engine.state.GameState
vooga.games.tronlegacy.MainGameState
public class MainGameState
- extends GameState
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 |
MainGameState
public MainGameState()
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