Class MonkeyApp
- java.lang.Object
-
- com.jme3.app.Application
-
- com.jme3.app.SimpleApplication
-
- jadex.extension.envsupport.observer.graphics.jmonkey.AMonkeyInit
-
- jadex.extension.envsupport.observer.graphics.jmonkey.AMonkeyFunctions
-
- jadex.extension.envsupport.observer.graphics.jmonkey.MonkeyApp
-
- All Implemented Interfaces:
com.jme3.animation.AnimEventListener
,com.jme3.system.SystemListener
public class MonkeyApp extends AMonkeyFunctions
The Application that renders the 3d output for Jadex in the Jmonkey Engine it get the refreshed Geometry and Static Objects from the Viewport
-
-
Field Summary
-
Fields inherited from class jadex.extension.envsupport.observer.graphics.jmonkey.AMonkeyInit
ambientOcclusion, animChannels, appScaled, appSize, bsr, cameraSelection, cameraState, canvassize, cleanupPostFilter, complexShadows, defaultGui, flyCamera, focusCam, focusCamActive, fpp, gridNode, guiCreatorPath, hudactive, isGrid, lights, niftyDisplay, niftyScreens, particleEmitters, pssmRenderer, selectedSpatial, selectedTarget, selectionControl, spaceController, spaceSize, staticNode, terrain, toAdd, toDelete, walkCam
-
-
Constructor Summary
Constructors Constructor Description MonkeyApp(float dim, float appScaled, float spaceSize, boolean isGrid, boolean shader, java.lang.String camera, java.lang.String guiCreatorPath, ISpaceController spaceController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getHeightAt(com.jme3.math.Vector2f vec)
boolean
isGuiActive()
void
setGuiActive(boolean guiActive)
void
setStaticGeometry(com.jme3.scene.Node staticNode)
void
simpleInitApp()
void
simpleUpdate(float tpf)
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.jmonkey.AMonkeyFunctions
fireFullscreen, getSelectedSpaceObjectId, getSelectedWorldCoord, getWorldContactPoint, moveCamera, randomizeHeightMap, simpleInit, simpleUpdateAbstract
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.jmonkey.AMonkeyInit
getAnimChannels, getAppDimension, getAppScaled, getAppSize, getAssetManager, getBsr, getCameraSelection, getCanvassize, getCaps, getChannels, getFlyCamera, getFocusCam, getFpp, getGridNode, getLights, getNiftyDisplay, getParticleEmiters, getPssmRenderer, getSelectedSpatial, getSelectedTarget, getSpaceController, getSpaceSize, getTerrain, getToAdd, getToDelete, initCam, isCleanupPostFilter, isComplexShadows, isFocusCamActive, isGrid, isHudactive, isWalkCam, onAnimChange, onAnimCycleDone, setAnimChannels, setAppDimension, setAppScaled, setAppSize, setBsr, setCameraSelection, setCanvassize, setChannels, setCleanupPostFilter, setComplexShadows, setFlyCamera, setFocusCam, setFocusCamActive, setFpp, setGrid, setGridNode, setHudactive, setLights, setNiftyDisplay, setParticleEmiters, setPssmRenderer, setSelectedSpatial, setSelectedTarget, setSpaceController, setSpaceSize, setTerrain, setToAdd, setToDelete, setWalkCam
-
Methods inherited from class com.jme3.app.SimpleApplication
getFlyByCamera, getGuiNode, getRootNode, initialize, isShowSettings, loadGuiFont, setDisplayFps, setDisplayStatView, setShowSettings, simpleRender, start, update
-
Methods inherited from class com.jme3.app.Application
createCanvas, destroy, destroyInput, enqueue, gainFocus, getAudioRenderer, getCamera, getContext, getGuiViewPort, getInputManager, getListener, getRenderer, getRenderManager, getStateManager, getTimer, getViewPort, handleError, isPauseOnLostFocus, loseFocus, requestClose, reshape, restart, runQueuedTasks, setAssetManager, setPauseOnLostFocus, setSettings, setTimer, start, startCanvas, startCanvas, stop, stop
-
-
-
-
Constructor Detail
-
MonkeyApp
public MonkeyApp(float dim, float appScaled, float spaceSize, boolean isGrid, boolean shader, java.lang.String camera, java.lang.String guiCreatorPath, ISpaceController spaceController)
-
-
Method Detail
-
simpleInitApp
public void simpleInitApp()
- Specified by:
simpleInitApp
in classcom.jme3.app.SimpleApplication
-
simpleUpdate
public void simpleUpdate(float tpf)
- Overrides:
simpleUpdate
in classcom.jme3.app.SimpleApplication
-
setStaticGeometry
public void setStaticGeometry(com.jme3.scene.Node staticNode)
-
getHeightAt
public float getHeightAt(com.jme3.math.Vector2f vec)
-
isGuiActive
public boolean isGuiActive()
- Returns:
- the guiActive
-
setGuiActive
public void setGuiActive(boolean guiActive)
- Parameters:
guiActive
- the guiActive to set
-
-