Update Loop

Extending your application from com.jme3.app.SimpleApplication provides you with an update loop. This is where you implement your game logic (game mechanics).

Examples: Here you remote-control NPCs (computer controlled characters), generate game events, and respond to user input.

Usage

There are two strategies how advanced developers can spread out their init and update code over several Java objects:

basegame, control, input, init, keyinput, loop, states, state

view online version