apps.mysteries.client
Class MysteryApp

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.client.MysteryApp
All Implemented Interfaces:
NetworkedContentListener

public class MysteryApp
extends DefaultSynergyNetApp
implements NetworkedContentListener

The Class MysteryApp.


Field Summary
static boolean restore
          The restore.
 java.lang.String SUB_APP_DINNERDISASTER
          The sub app dinnerdisaster.
 java.lang.String SUB_APP_LONDONFIRE
          The sub app londonfire.
 java.lang.String SUB_APP_ROBERTDIXON
          The sub app robertdixon.
 java.lang.String SUB_APP_SCHOOLTRIP
          The sub app schooltrip.
 java.lang.String SUB_APP_SNEAKYSYDNEY
          The sub app sneakysydney.
 java.lang.String SUB_APP_TIPPINGWAITRESSES
          The sub app tippingwaitresses.
 java.lang.String SUB_APP_WALTZER
          The sub app waltzer.
 
Constructor Summary
MysteryApp(ApplicationInfo info)
          Instantiates a new mystery 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 onDeactivate()
          On deactivate.
 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> map)
          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.


SUB_APP_DINNERDISASTER

public final java.lang.String SUB_APP_DINNERDISASTER
The sub app dinnerdisaster.

See Also:
Constant Field Values

SUB_APP_LONDONFIRE

public final java.lang.String SUB_APP_LONDONFIRE
The sub app londonfire.

See Also:
Constant Field Values

SUB_APP_ROBERTDIXON

public final java.lang.String SUB_APP_ROBERTDIXON
The sub app robertdixon.

See Also:
Constant Field Values

SUB_APP_SCHOOLTRIP

public final java.lang.String SUB_APP_SCHOOLTRIP
The sub app schooltrip.

See Also:
Constant Field Values

SUB_APP_SNEAKYSYDNEY

public final java.lang.String SUB_APP_SNEAKYSYDNEY
The sub app sneakysydney.

See Also:
Constant Field Values

SUB_APP_TIPPINGWAITRESSES

public final java.lang.String SUB_APP_TIPPINGWAITRESSES
The sub app tippingwaitresses.

See Also:
Constant Field Values

SUB_APP_WALTZER

public final java.lang.String SUB_APP_WALTZER
The sub app waltzer.

See Also:
Constant Field Values
Constructor Detail

MysteryApp

public MysteryApp(ApplicationInfo info)
Instantiates a new mystery 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

onDeactivate

public void onDeactivate()
Description copied from class: SynergyNetApp
On deactivate.


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> map)
Description copied from interface: NetworkedContentListener
Render remote desktop.

Specified by:
renderRemoteDesktop in interface NetworkedContentListener
Parameters:
remoteDesktop - the remote desktop
item - the item
map - 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