public class HelloPhysics extends SimpleApplication
flyCam, fpsText, guiFont, guiNode, INPUT_MAPPING_CAMERA_POS, INPUT_MAPPING_EXIT, INPUT_MAPPING_HIDE_STATS, INPUT_MAPPING_MEMORY, rootNode, showSettingsassetManager, audioRenderer, cam, context, guiViewPort, inputEnabled, inputManager, joyInput, keyInput, listener, lostFocusBehavior, mouseInput, paused, prof, renderer, renderManager, settings, speed, stateManager, timer, touchInput, viewPort| Constructor and Description |
|---|
HelloPhysics() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initCrossHairs()
A plus sign used as crosshairs to help the player with aiming.
|
void |
initFloor()
Make a solid floor and add it to the scene.
|
void |
initMaterials()
Initialize the materials used in this scene.
|
void |
initWall()
This loop builds a wall out of individual bricks.
|
static void |
main(java.lang.String[] args) |
void |
makeBrick(Vector3f loc)
This method creates one individual physical brick.
|
void |
makeCannonBall()
This method creates one individual physical cannon ball.
|
void |
simpleInitApp() |
getFlyByCamera, getGuiNode, getRootNode, getSpeed, initialize, isShowSettings, loadGuiFont, setDisplayFps, setDisplayStatView, setShowSettings, setSpeed, simpleRender, simpleUpdate, start, updatecreateCanvas, destroy, destroyInput, enqueue, enqueue, gainFocus, getAppProfiler, getAssetManager, getAudioRenderer, getCamera, getContext, getGuiViewPort, getInputManager, getListener, getLostFocusBehavior, getRenderer, getRenderManager, getStateManager, getTimer, getViewPort, handleError, isPauseOnLostFocus, loseFocus, requestClose, reshape, restart, runQueuedTasks, setAppProfiler, setAssetManager, setLostFocusBehavior, setPauseOnLostFocus, setSettings, setTimer, start, start, start, startCanvas, startCanvas, stop, stoppublic static void main(java.lang.String[] args)
public void simpleInitApp()
simpleInitApp in class SimpleApplicationpublic void initMaterials()
public void initFloor()
public void initWall()
public void makeBrick(Vector3f loc)
public void makeCannonBall()
protected void initCrossHairs()