|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gatech.cs2335.lemmings.engine.AbstractGameState
This is the parent of all the game state classes. A game state is basically one screen - be it the splash screen, the main menu, or the game screen itself.
| Constructor Summary | |
protected |
AbstractGameState()
Creates a new AbstractGameState instance. |
| Method Summary | |
abstract boolean |
cleanUp()
This method will perform all of the necessary clean up operations once the object is no longer needed. |
LRootPane |
getUI()
Returns the root pane with the UI associated with this state. |
abstract boolean |
initialize()
This method will initialize the state that it belongs to. |
protected void |
setUI(LRootPane pane)
Sets a new value of the root pane. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
| Constructor Detail |
protected AbstractGameState()
AbstractGameState instance.
| Method Detail |
public final LRootPane getUI()
LRootPane valueprotected final void setUI(LRootPane pane)
pane - a LRootPane valuepublic abstract boolean initialize()
public abstract boolean cleanUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||