ch.sahits.game.graphic.display.gameplay
Class MainMenu

java.lang.Object
  extended by ch.sahits.game.rendering.AbstractRenderPart
      extended by ch.sahits.game.graphic.display.gameplay.MainMenu
All Implemented Interfaces:
IEventListener, Renderable, RenderablePart

public class MainMenu
extends AbstractRenderPart
implements IEventListener

This represents the view showing the main menu

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Sep 30, 2011

Field Summary
 
Fields inherited from class ch.sahits.game.rendering.AbstractRenderPart
rect
 
Constructor Summary
MainMenu(Rectangle rect)
           
 
Method Summary
 void gameRender(Graphics gScr)
           
 void gameUpdate(Event e, Object eventNotice)
           
 
Methods inherited from class ch.sahits.game.rendering.AbstractRenderPart
getBounds, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenu

public MainMenu(Rectangle rect)
Method Detail

gameRender

public void gameRender(Graphics gScr)
Specified by:
gameRender in interface Renderable

gameUpdate

public void gameUpdate(Event e,
                       Object eventNotice)
Specified by:
gameUpdate in interface IEventListener
Specified by:
gameUpdate in interface Renderable


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.