synergynetframework.appsystem.table.appdefinitions
Class SynergyNetApp

java.lang.Object
  extended by com.jmex.game.state.GameState
      extended by synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
Direct Known Subclasses:
DefaultSynergyNetApp

public abstract class SynergyNetApp
extends com.jmex.game.state.GameState

The Class SynergyNetApp.


Constructor Summary
SynergyNetApp(ApplicationInfo info)
          Instantiates a new synergy net app.
 
Method Summary
abstract  void addContent()
          Adds the content.
 void cleanup()
           
 void exitApp()
          Exit app.
 int getActivationCount()
          Gets the activation count.
 java.io.File getApplicationDataDirectory()
          Gets the application data directory.
 ApplicationInfo getInfo()
          Gets the info.
 MenuController getMenuController()
          Gets the menu controller.
 com.jme.scene.Node getOrthoNode()
          Gets the ortho node.
 com.jme.renderer.pass.RenderPass getOrthoRenderPass()
          Gets the ortho render pass.
 com.jme.scene.Node getRootNode()
          Gets the root node.
 com.jme.scene.Node getWorldNode()
          Gets the world node.
 com.jme.renderer.pass.RenderPass getWorldRenderPass()
          Gets the world render pass.
 void init()
          Inits the.
 void onActivate()
          On activate.
 void render(float tpf)
           
 void renderDebug(float tpf)
          Render debug.
 void setActivationCount(int activationCount)
          Sets the activation count.
 void setActive(boolean active)
           
 void setMenuController(MenuController mc)
          Sets the menu controller.
 void setOrthoRenderPass(com.jme.renderer.pass.RenderPass orthoRenderPass)
          Sets the ortho render pass.
 void setRootNode(com.jme.scene.Node rootNode)
          Sets the root node.
 void setWorldRenderPass(com.jme.renderer.pass.RenderPass worldRenderPass)
          Sets the world render pass.
 void update(float tpf)
           
 
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

SynergyNetApp

public SynergyNetApp(ApplicationInfo info)
Instantiates a new synergy net app.

Parameters:
info - the info
Method Detail

addContent

public abstract void addContent()
Adds the content.


cleanup

public void cleanup()
Specified by:
cleanup in class com.jmex.game.state.GameState

exitApp

public void exitApp()
Exit app.


getActivationCount

public int getActivationCount()
Gets the activation count.

Returns:
the activation count

getApplicationDataDirectory

public java.io.File getApplicationDataDirectory()
Gets the application data directory.

Returns:
the application data directory

getInfo

public ApplicationInfo getInfo()
Gets the info.

Returns:
the info

getMenuController

public MenuController getMenuController()
Gets the menu controller.

Returns:
the menu controller

getOrthoNode

public com.jme.scene.Node getOrthoNode()
Gets the ortho node.

Returns:
the ortho node

getOrthoRenderPass

public com.jme.renderer.pass.RenderPass getOrthoRenderPass()
Gets the ortho render pass.

Returns:
the ortho render pass

getRootNode

public com.jme.scene.Node getRootNode()
Gets the root node.

Returns:
the root node

getWorldNode

public com.jme.scene.Node getWorldNode()
Gets the world node.

Returns:
the world node

getWorldRenderPass

public com.jme.renderer.pass.RenderPass getWorldRenderPass()
Gets the world render pass.

Returns:
the world render pass

init

public void init()
Inits the.


onActivate

public void onActivate()
On activate.


render

public final void render(float tpf)
Specified by:
render in class com.jmex.game.state.GameState

renderDebug

public void renderDebug(float tpf)
Render debug.

Parameters:
tpf - the tpf

setActivationCount

public void setActivationCount(int activationCount)
Sets the activation count.

Parameters:
activationCount - the new activation count

setActive

public void setActive(boolean active)
Overrides:
setActive in class com.jmex.game.state.GameState

setMenuController

public void setMenuController(MenuController mc)
Sets the menu controller.

Parameters:
mc - the new menu controller

setOrthoRenderPass

public void setOrthoRenderPass(com.jme.renderer.pass.RenderPass orthoRenderPass)
Sets the ortho render pass.

Parameters:
orthoRenderPass - the new ortho render pass

setRootNode

public void setRootNode(com.jme.scene.Node rootNode)
Sets the root node.

Parameters:
rootNode - the new root node

setWorldRenderPass

public void setWorldRenderPass(com.jme.renderer.pass.RenderPass worldRenderPass)
Sets the world render pass.

Parameters:
worldRenderPass - the new world render pass

update

public final void update(float tpf)
Specified by:
update in class com.jmex.game.state.GameState