Package com.rvandoosselaer.jmeutils
Class ApplicationGlobals
- java.lang.Object
-
- com.rvandoosselaer.jmeutils.ApplicationGlobals
-
public final class ApplicationGlobals extends java.lang.ObjectA singleton implementation that holds aSimpleApplicationobject for easy retrieval. Theinitialize(SimpleApplication)method should be called before this singleton can be used. When theJmeLauncherclass is used as a starting point, theApplicationGlobalssingleton will be already correctly initialized.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.jme3.app.ApplicationgetApplication()com.jme3.scene.NodegetGuiNode()static ApplicationGlobalsgetInstance()com.jme3.scene.NodegetRootNode()static voidinitialize(com.jme3.app.SimpleApplication application)
-
-
-
Method Detail
-
initialize
public static void initialize(com.jme3.app.SimpleApplication application)
-
getInstance
public static ApplicationGlobals getInstance()
-
getApplication
public com.jme3.app.Application getApplication()
-
getRootNode
public com.jme3.scene.Node getRootNode()
-
getGuiNode
public com.jme3.scene.Node getGuiNode()
-
-