moagg.game.menu
Class SystemMenu

java.lang.Object
  extended by com.golden.gamedev.GameObject
      extended by moagg.game.menu.AbstractMenu
          extended by moagg.game.menu.SystemMenu

public class SystemMenu
extends AbstractMenu


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

SystemMenu

public SystemMenu(com.golden.gamedev.GameEngine parent,
                  java.awt.image.BufferedImage background)
Method Detail

initResources

public void initResources()
Overrides:
initResources in class AbstractMenu

initMenuItems

protected void initMenuItems()
Specified by:
initMenuItems in class AbstractMenu

update

public void update(long elapsedTime)
Overrides:
update in class AbstractMenu

switchLanguage

protected void switchLanguage()

enter

public void enter()
Specified by:
enter in class AbstractMenu

render

public void render(java.awt.Graphics2D g)
Overrides:
render in class AbstractMenu


Copyright © 2008. All Rights Reserved.