|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.golden.gamedev.GameObject
moagg.game.menu.AbstractMenu
moagg.game.menu.ControlsMenu
public class ControlsMenu
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class moagg.game.menu.AbstractMenu |
|---|
AbstractMenu.MenuItem |
| Field Summary |
|---|
| Fields inherited from class moagg.game.menu.AbstractMenu |
|---|
background, font, KEY_SWITCH_PREFIX, maxTextWidth, menuItems, selectedItemIndex |
| Fields inherited from class com.golden.gamedev.GameObject |
|---|
bsGraphics, bsInput, bsIO, bsLoader, bsMusic, bsSound, bsTimer, fontManager, parent |
| Constructor Summary | |
|---|---|
ControlsMenu(com.golden.gamedev.GameEngine parent,
java.awt.image.BufferedImage background)
|
|
| Method Summary | |
|---|---|
void |
enter()
|
protected void |
initMenuItems()
|
void |
initResources()
|
void |
render(java.awt.Graphics2D g)
|
void |
update(long elapsedTime)
|
| Methods inherited from class moagg.game.menu.AbstractMenu |
|---|
renderText, updateMaxTextWidth |
| Methods inherited from class com.golden.gamedev.GameObject |
|---|
checkPosMouse, checkPosMouse, click, drawFPS, finish, getCurrentFPS, getFPS, getHeight, getImage, getImage, getImages, getImages, getImages, getImages, getImages, getImages, getMouseX, getMouseY, getRandom, getWidth, hideCursor, keyDown, keyPressed, playMusic, playSound, rightClick, setFPS, setMaskColor, showCursor, start, takeScreenShot, takeScreenShot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControlsMenu(com.golden.gamedev.GameEngine parent,
java.awt.image.BufferedImage background)
| Method Detail |
|---|
public void initResources()
initResources in class AbstractMenuprotected void initMenuItems()
initMenuItems in class AbstractMenupublic void update(long elapsedTime)
update in class AbstractMenupublic void enter()
enter in class AbstractMenupublic void render(java.awt.Graphics2D g)
render in class AbstractMenu
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||