|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.engine.state.GameState
vooga.games.mariogame.MainMenuState
public class MainMenuState
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 |
---|
public MainMenuState(java.awt.image.BufferedImage backgroundImage, GameFontManager fontManager)
width
- height
- fontManager
- Method Detail |
---|
public void render(java.awt.Graphics2D g)
render
in class GameState
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |