Class AMonkeyFunctions
- 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
-
- All Implemented Interfaces:
com.jme3.animation.AnimEventListener
,com.jme3.system.SystemListener
- Direct Known Subclasses:
MonkeyApp
public abstract class AMonkeyFunctions extends AMonkeyInit
The Abstract Application for the renders the 3d output for Jadex in the Jmonkey Engine This Class holds most of the Functions for better structure
-
-
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 AMonkeyFunctions(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 void
fireFullscreen()
This Functions fires a F11 Command to the Canvas.java.lang.Object
getSelectedSpaceObjectId()
Vector3Int
getSelectedWorldCoord()
IVector3
getWorldContactPoint()
void
moveCamera(float value, boolean sideways)
This Functions moves the Camera for the WalkCameravoid
randomizeHeightMap()
protected void
simpleInit()
void
simpleUpdateAbstract(float tpf)
-
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, simpleInitApp, simpleRender, simpleUpdate, 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
-
AMonkeyFunctions
public AMonkeyFunctions(float dim, float appScaled, float spaceSize, boolean isGrid, boolean shader, java.lang.String camera, java.lang.String guiCreatorPath, ISpaceController spaceController)
-
-
Method Detail
-
simpleInit
protected void simpleInit()
- Overrides:
simpleInit
in classAMonkeyInit
-
simpleUpdateAbstract
public void simpleUpdateAbstract(float tpf)
- Overrides:
simpleUpdateAbstract
in classAMonkeyInit
-
fireFullscreen
public void fireFullscreen()
This Functions fires a F11 Command to the Canvas.
-
moveCamera
public void moveCamera(float value, boolean sideways)
This Functions moves the Camera for the WalkCamera
-
getSelectedWorldCoord
public Vector3Int getSelectedWorldCoord()
-
getSelectedSpaceObjectId
public java.lang.Object getSelectedSpaceObjectId()
-
getWorldContactPoint
public IVector3 getWorldContactPoint()
-
randomizeHeightMap
public void randomizeHeightMap()
-
-