apps.mysteries.controller
Class MysteriesControllerApp

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.mysteries.controller.MysteriesControllerApp
All Implemented Interfaces:
NetworkedContentListener

public class MysteriesControllerApp
extends DefaultSynergyNetApp
implements NetworkedContentListener

The Class MysteriesControllerApp.


Field Summary
static boolean restore
          The restore.
 
Constructor Summary
MysteriesControllerApp(ApplicationInfo info)
          Instantiates a new mysteries controller app.
 
Method Summary
 void addContent()
          Adds the content.
 void channelSwitched()
          Channel switched.
 void contentItemLoaded(ContentItem item)
          Content item loaded.
 void contentLoaded()
          Content loaded.
 void loadContent(java.lang.String filePath, java.lang.String name)
          Load content.
 void onActivate()
          On activate.
 void remoteContentLoaded(RemoteDesktop remoteDesktop)
          Remote content loaded.
 void removeAllItems()
          Removes the all items.
 void renderRemoteDesktop(RemoteDesktop remoteDesktop, OrthoContentItem item, java.util.Map<java.lang.String,java.lang.String> itemAttrs)
          Render remote desktop.
 void renderSynchronisedDate(ContentItem item, java.util.Map<java.lang.String,java.lang.String> itemAttrs)
          Render synchronised date.
 void stateUpdate(float tpf)
          State update.
 
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
 

Field Detail

restore

public static boolean restore
The restore.

Constructor Detail

MysteriesControllerApp

public MysteriesControllerApp(ApplicationInfo info)
Instantiates a new mysteries controller 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

channelSwitched

public void channelSwitched()
Description copied from interface: NetworkedContentListener
Channel switched.

Specified by:
channelSwitched in interface NetworkedContentListener

contentItemLoaded

public void contentItemLoaded(ContentItem item)
Description copied from interface: NetworkedContentListener
Content item loaded.

Specified by:
contentItemLoaded in interface NetworkedContentListener
Parameters:
item - the item

contentLoaded

public void contentLoaded()
Description copied from interface: NetworkedContentListener
Content loaded.

Specified by:
contentLoaded in interface NetworkedContentListener

loadContent

public void loadContent(java.lang.String filePath,
                        java.lang.String name)
Load content.

Parameters:
filePath - the file path
name - the name

onActivate

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

Overrides:
onActivate in class SynergyNetApp

remoteContentLoaded

public void remoteContentLoaded(RemoteDesktop remoteDesktop)
Description copied from interface: NetworkedContentListener
Remote content loaded.

Specified by:
remoteContentLoaded in interface NetworkedContentListener
Parameters:
remoteDesktop - the remote desktop

removeAllItems

public void removeAllItems()
Removes the all items.


renderRemoteDesktop

public void renderRemoteDesktop(RemoteDesktop remoteDesktop,
                                OrthoContentItem item,
                                java.util.Map<java.lang.String,java.lang.String> itemAttrs)
Description copied from interface: NetworkedContentListener
Render remote desktop.

Specified by:
renderRemoteDesktop in interface NetworkedContentListener
Parameters:
remoteDesktop - the remote desktop
item - the item
itemAttrs - the map

renderSynchronisedDate

public void renderSynchronisedDate(ContentItem item,
                                   java.util.Map<java.lang.String,java.lang.String> itemAttrs)
Description copied from interface: NetworkedContentListener
Render synchronised date.

Specified by:
renderSynchronisedDate in interface NetworkedContentListener
Parameters:
item - the item
itemAttrs - the item attrs

stateUpdate

public void stateUpdate(float tpf)
Description copied from class: SynergyNetApp
State update.

Parameters:
tpf - the tpf