Class MainMenu

java.lang.Object
  extended by greenfoot.World
      extended by MainMenu

public class MainMenu
extends greenfoot.World

'MainMenu' is the view, and view controller for the initial menu in the game.

Since:
2012-06-13
Version:
v1.0
Author:
Felix Mo

Constructor Summary
MainMenu()
          Constructs a MainMenu.
 
Method Summary
 void act()
          The main menu's behaviour.
 void hideOverlay()
          Hides the overlay *
 void showOverlay()
          Shows an overlay to fade out the screen *
 
Methods inherited from class greenfoot.World
addObject, getBackground, getCellSize, getColorAt, getHeight, getObjects, getObjectsAt, getWidth, numberOfObjects, removeObject, removeObjects, repaint, setActOrder, setBackground, setBackground, setPaintOrder, started, stopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenu

public MainMenu()
Constructs a MainMenu.

Method Detail

act

public void act()
The main menu's behaviour.

Overrides:
act in class greenfoot.World

hideOverlay

public void hideOverlay()
Hides the overlay *


showOverlay

public void showOverlay()
Shows an overlay to fade out the screen *