apps.basketapp.client
Class BasketApp

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.basketapp.client.BasketApp
All Implemented Interfaces:
Basket.BasketListener

public class BasketApp
extends DefaultSynergyNetApp
implements Basket.BasketListener

The Class BasketApp.


Constructor Summary
BasketApp(ApplicationInfo info)
          Instantiates a new basket app.
 
Method Summary
 void addContent()
          Adds the content.
 void createLockImage()
          Creates the lock image.
 java.util.List<ContentItem> getOnlineItems()
          Gets the online items.
 void initBaskets()
          Inits the baskets.
 void itemAdded(ContentItem item)
          Item added.
 void itemDetached(ContentItem item)
          Item detached.
 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

BasketApp

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

createLockImage

public void createLockImage()
Creates the lock image.


getOnlineItems

public java.util.List<ContentItem> getOnlineItems()
Gets the online items.

Returns:
the online items

initBaskets

public void initBaskets()
Inits the baskets.


itemAdded

public void itemAdded(ContentItem item)
Description copied from interface: Basket.BasketListener
Item added.

Specified by:
itemAdded in interface Basket.BasketListener
Parameters:
item - the item

itemDetached

public void itemDetached(ContentItem item)
Description copied from interface: Basket.BasketListener
Item detached.

Specified by:
itemDetached in interface Basket.BasketListener
Parameters:
item - the item

onActivate

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

Overrides:
onActivate in class SynergyNetApp