|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.golden.gamedev.GameObject moagg.game.menu.AbstractMenu moagg.game.menu.SystemMenu
public class SystemMenu
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 | |
---|---|
SystemMenu(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)
|
protected void |
switchLanguage()
|
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 SystemMenu(com.golden.gamedev.GameEngine parent, java.awt.image.BufferedImage background)
Method Detail |
---|
public void initResources()
initResources
in class AbstractMenu
protected void initMenuItems()
initMenuItems
in class AbstractMenu
public void update(long elapsedTime)
update
in class AbstractMenu
protected void switchLanguage()
public void enter()
enter
in class AbstractMenu
public 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 |