apps.twentyfourpoint
Class TwentyFourPointApp

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.twentyfourpoint.TwentyFourPointApp

public class TwentyFourPointApp
extends DefaultSynergyNetApp

The Class TwentyFourPointApp.


Constructor Summary
TwentyFourPointApp(ApplicationInfo info)
          Instantiates a new twenty four point app.
 
Method Summary
 void addContent()
          Adds the content.
 void checkNoAnswer()
          Check no answer.
 void loadContent(java.util.List<ContentItem> items)
          Load content.
 void onActivate()
          On activate.
 void onDeactivate()
          On deactivate.
 void receiveResult(boolean win, java.lang.String resultString)
          Receive result.
 void removeAllItems()
          Removes the all items.
 void removeConfirmDialogue()
          Removes the confirm dialogue.
 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
 

Constructor Detail

TwentyFourPointApp

public TwentyFourPointApp(ApplicationInfo info)
Instantiates a new twenty four point 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

checkNoAnswer

public void checkNoAnswer()
Check no answer.


loadContent

public void loadContent(java.util.List<ContentItem> items)
Load content.

Parameters:
items - the items

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.


receiveResult

public void receiveResult(boolean win,
                          java.lang.String resultString)
Receive result.

Parameters:
win - the win
resultString - the result string

removeAllItems

public void removeAllItems()
Removes the all items.


removeConfirmDialogue

public void removeConfirmDialogue()
Removes the confirm dialogue.


stateUpdate

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

Parameters:
tpf - the tpf