synergynetframework.jme.simulators
Class JMEMouseKeyboardInputManager
java.lang.Object
synergynetframework.jme.simulators.JMEMouseKeyboardInputManager
- All Implemented Interfaces:
- com.jme.input.KeyInputListener, com.jme.input.MouseInputListener
public class JMEMouseKeyboardInputManager
- extends java.lang.Object
- implements com.jme.input.MouseInputListener, com.jme.input.KeyInputListener
The Class JMEMouseKeyboardInputManager.
Method Summary |
void |
onButton(int button,
boolean pressed,
int x,
int y)
|
void |
onKey(char character,
int keyCode,
boolean pressed)
|
void |
onMove(int delta,
int delta2,
int newX,
int newY)
|
void |
onWheel(int wheelDelta,
int x,
int y)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMEMouseKeyboardInputManager
public JMEMouseKeyboardInputManager(AbstractMultiTouchSimulator simulator,
int width,
int height)
- Instantiates a new JME mouse keyboard input manager.
- Parameters:
simulator
- the simulatorwidth
- the widthheight
- the height
onButton
public void onButton(int button,
boolean pressed,
int x,
int y)
- Specified by:
onButton
in interface com.jme.input.MouseInputListener
onKey
public void onKey(char character,
int keyCode,
boolean pressed)
- Specified by:
onKey
in interface com.jme.input.KeyInputListener
onMove
public void onMove(int delta,
int delta2,
int newX,
int newY)
- Specified by:
onMove
in interface com.jme.input.MouseInputListener
onWheel
public void onWheel(int wheelDelta,
int x,
int y)
- Specified by:
onWheel
in interface com.jme.input.MouseInputListener