|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.engine.state.GameState
vooga.engine.state.MenuGameState
public abstract class MenuGameState
MenuGameState is a reusable component extension of GameState which contains a series of Buttons
Field Summary |
---|
Fields inherited from class vooga.engine.state.GameState |
---|
myRenderField, myUpdateField |
Constructor Summary | |
---|---|
MenuGameState()
Creates a new instance of MenuGameState |
|
MenuGameState(java.lang.Iterable<Button> buttons)
Creates a new instance of MenuGameState with a specified collection of buttons |
Method Summary | |
---|---|
void |
addButton(Button button)
Adds a specified Button to the MenuGameState |
PlayField |
getMenuPlayfield()
|
abstract void |
initialize()
Initializes MenuGameState |
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 |
---|
public MenuGameState()
public MenuGameState(java.lang.Iterable<Button> buttons)
buttons
- iterable collection of buttonsMethod Detail |
---|
public abstract void initialize()
initialize
in class GameState
public void addButton(Button button)
button
- public PlayField getMenuPlayfield()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |