vooga.games.mariogame
Class MainMenuState

java.lang.Object
  extended by vooga.engine.state.GameState
      extended by vooga.games.mariogame.MainMenuState

public class MainMenuState
extends GameState


Field Summary
 
Fields inherited from class vooga.engine.state.GameState
myRenderField, myUpdateField
 
Constructor Summary
MainMenuState(java.awt.image.BufferedImage backgroundImage, GameFontManager fontManager)
          This constructs a MainMenuState with dimensions for the screen, as well as a font manager used to render fonts to the screen
 
Method Summary
 void render(java.awt.Graphics2D g)
          Method called to render fonts to the screen, as well as the background.
 
Methods inherited from class vooga.engine.state.GameState
activate, addGroup, addPlayField, addRenderPlayField, addRenderState, addState, addUpdatePlayField, addUpdateState, deactivate, equals, getGroup, getRenderField, getUpdateField, initialize, isActive, removeEverything, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenuState

public MainMenuState(java.awt.image.BufferedImage backgroundImage,
                     GameFontManager fontManager)
This constructs a MainMenuState with dimensions for the screen, as well as a font manager used to render fonts to the screen

Parameters:
width -
height -
fontManager -
Method Detail

render

public void render(java.awt.Graphics2D g)
Method called to render fonts to the screen, as well as the background.

Overrides:
render in class GameState