|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.input.InputHandler
com.jme.input.NodeHandler
NodeHandler defines an InputHandler that sets
a node that can be controlled via keyboard and mouse inputs. By default the
commands are, WSAD moves the node forward, backward and strafes. The
arrow keys rotate and tilt the node and the mouse also rotates and tilts
the node.
| Field Summary |
| Fields inherited from class com.jme.input.InputHandler |
buffKeyActions, keyActions, keyboard, mouse, mouseActions, useBufferedKeyboard |
| Constructor Summary | |
NodeHandler(AbstractGame app,
Spatial node,
java.lang.String api)
Constructor instantiates a new NodeHandler object. |
|
| Methods inherited from class com.jme.input.InputHandler |
addAction, addAction, addBufferedKeyAction, addKeyboardAction, clearKeyboardActions, clearMouseActions, getKeyBindingManager, getMouse, removeAction, removeAction, setKeyBindingManager, setKeySpeed, setMouse, setMouseSpeed, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodeHandler(AbstractGame app,
Spatial node,
java.lang.String api)
NodeHandler object. The
application is set for the use of the exit action. The node is set to
control, while the api defines which input api is to be used.
app - the app using the controller, for the exit action.node - the node to control.api - the api to use for input.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||