org.jdesktop.wonderland.client.jme
Class ClientContextJME

java.lang.Object
  extended by org.jdesktop.wonderland.client.ClientContext
      extended by org.jdesktop.wonderland.client.jme.ClientContextJME

public class ClientContextJME
extends ClientContext

A subclass of ClientContext which adds JME client specific context accessors.

Author:
paulby

Constructor Summary
ClientContextJME()
           
 
Method Summary
static void addCollisionSystem(ServerSessionManager session, java.lang.String name, org.jdesktop.mtgame.CollisionSystem collisionSystem)
           
static void addPhysicsSystem(ServerSessionManager session, java.lang.String name, org.jdesktop.mtgame.PhysicsSystem physicsSystem)
           
static AvatarRenderManager getAvatarRenderManager()
           
static JmeClientMain getClientMain()
          Get the JME client main object
static org.jdesktop.mtgame.CollisionSystem getCollisionSystem(ServerSessionManager session, java.lang.String name)
          Return the PhysicsSystem for the specified session with the given name.
static InputManager getInputManager()
           
static org.jdesktop.mtgame.PhysicsSystem getPhysicsSystem(ServerSessionManager session, java.lang.String name)
          Return the PhysicsSystem for the specified session with the given name.
static SceneWorker getSceneWorker()
           
static ViewManager getViewManager()
          Get the view manager
static org.jdesktop.mtgame.WorldManager getWorldManager()
          Get the mtgame world manager
 
Methods inherited from class org.jdesktop.wonderland.client.ClientContext
getCellCache, getCellManager, getRendererType, getSessionManager, getUserDirectory, getUserDirectory, registerCellCache, registerInputManager, resetUserDirectory, setRendererType, setUserDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientContextJME

public ClientContextJME()
Method Detail

getViewManager

public static ViewManager getViewManager()
Get the view manager

Returns:

getWorldManager

public static org.jdesktop.mtgame.WorldManager getWorldManager()
Get the mtgame world manager

Returns:

getAvatarRenderManager

public static AvatarRenderManager getAvatarRenderManager()

getInputManager

public static InputManager getInputManager()

addPhysicsSystem

public static void addPhysicsSystem(ServerSessionManager session,
                                    java.lang.String name,
                                    org.jdesktop.mtgame.PhysicsSystem physicsSystem)

getPhysicsSystem

public static org.jdesktop.mtgame.PhysicsSystem getPhysicsSystem(ServerSessionManager session,
                                                                 java.lang.String name)
Return the PhysicsSystem for the specified session with the given name. Returns null if there is no system with the given name

Parameters:
session -
name -
Returns:

addCollisionSystem

public static void addCollisionSystem(ServerSessionManager session,
                                      java.lang.String name,
                                      org.jdesktop.mtgame.CollisionSystem collisionSystem)

getCollisionSystem

public static org.jdesktop.mtgame.CollisionSystem getCollisionSystem(ServerSessionManager session,
                                                                     java.lang.String name)
Return the PhysicsSystem for the specified session with the given name. Returns null if there is no system with the given name

Parameters:
session -
name -
Returns:

getSceneWorker

public static SceneWorker getSceneWorker()

getClientMain

public static JmeClientMain getClientMain()
Get the JME client main object

Returns:
the jme main client object


Open Wonderland - http://openwonderland.org