apps.mainmenu
Class MainMenuApp

java.lang.Object
  extended by com.jmex.game.state.GameState
      extended by synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
          extended by synergynetframework.appsystem.table.appdefinitions.DefaultSynergyNetApp
              extended by apps.mainmenu.MainMenuApp
All Implemented Interfaces:
MultiTouchButton.MultiTouchButtonListener

public class MainMenuApp
extends DefaultSynergyNetApp
implements MultiTouchButton.MultiTouchButtonListener

The Class MainMenuApp.


Constructor Summary
MainMenuApp(ApplicationInfo info)
          Instantiates a new main menu app.
 
Method Summary
 void addContent()
          Adds the content.
 void buttonClicked(MultiTouchButton button, ScreenCursor c, MultiTouchCursorEvent event)
          Button clicked.
 void buttonDragged(MultiTouchButton button, ScreenCursor c, MultiTouchCursorEvent event)
          Button dragged.
 void buttonPressed(MultiTouchButton button, ScreenCursor c, MultiTouchCursorEvent event)
          Button pressed.
 void buttonReleased(MultiTouchButton button, ScreenCursor c, MultiTouchCursorEvent event)
          Button released.
 void onActivate()
          On activate.
 
Methods inherited from class synergynetframework.appsystem.table.appdefinitions.DefaultSynergyNetApp
init
 
Methods inherited from class synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
cleanup, exitApp, getActivationCount, getApplicationDataDirectory, getInfo, getMenuController, getOrthoNode, getOrthoRenderPass, getRootNode, getWorldNode, getWorldRenderPass, render, renderDebug, setActivationCount, setActive, setMenuController, setOrthoRenderPass, setRootNode, setWorldRenderPass, update
 
Methods inherited from class com.jmex.game.state.GameState
getName, getParent, isActive, setName, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenuApp

public MainMenuApp(ApplicationInfo info)
Instantiates a new main menu app.

Parameters:
info - the info
Method Detail

addContent

public void addContent()
Description copied from class: SynergyNetApp
Adds the content.

Specified by:
addContent in class SynergyNetApp

buttonClicked

public void buttonClicked(MultiTouchButton button,
                          ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from interface: MultiTouchButton.MultiTouchButtonListener
Button clicked.

Specified by:
buttonClicked in interface MultiTouchButton.MultiTouchButtonListener
Parameters:
button - the button
c - the c
event - the event

buttonDragged

public void buttonDragged(MultiTouchButton button,
                          ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from interface: MultiTouchButton.MultiTouchButtonListener
Button dragged.

Specified by:
buttonDragged in interface MultiTouchButton.MultiTouchButtonListener
Parameters:
button - the button
c - the c
event - the event

buttonPressed

public void buttonPressed(MultiTouchButton button,
                          ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from interface: MultiTouchButton.MultiTouchButtonListener
Button pressed.

Specified by:
buttonPressed in interface MultiTouchButton.MultiTouchButtonListener
Parameters:
button - the button
c - the c
event - the event

buttonReleased

public void buttonReleased(MultiTouchButton button,
                           ScreenCursor c,
                           MultiTouchCursorEvent event)
Description copied from interface: MultiTouchButton.MultiTouchButtonListener
Button released.

Specified by:
buttonReleased in interface MultiTouchButton.MultiTouchButtonListener
Parameters:
button - the button
c - the c
event - the event

onActivate

public void onActivate()
Description copied from class: SynergyNetApp
On activate.

Overrides:
onActivate in class SynergyNetApp