vooga.games.towerdefense.states
Class MainMenu

java.lang.Object
  extended by vooga.engine.state.GameState
      extended by vooga.games.towerdefense.states.MainMenu

public class MainMenu
extends GameState

Designed to be the first thing the player sees (with the exception of the possible future implementation of a splash screen). However, the LevelParsing is currently down so the Game does not launch the Main Menu. It reads a playfield consisting of buttons for levels, a background, and a title from a LayoutParser.


Field Summary
 
Fields inherited from class vooga.engine.state.GameState
myRenderField, myUpdateField
 
Constructor Summary
MainMenu()
           
 
Method Summary
 void initialize()
          Read inn the layout xml file representing the main menu.
 
Methods inherited from class vooga.engine.state.GameState
activate, addGroup, addPlayField, addRenderPlayField, addRenderState, addState, addUpdatePlayField, addUpdateState, deactivate, equals, getGroup, getRenderField, getUpdateField, isActive, removeEverything, render, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenu

public MainMenu()
Method Detail

initialize

public void initialize()
Read inn the layout xml file representing the main menu.

Specified by:
initialize in class GameState