public class NullInputSystem extends Object implements InputSystem
| Constructor and Description |
|---|
NullInputSystem() |
| Modifier and Type | Method and Description |
|---|---|
void |
forwardEvents(NiftyInputConsumer inputEventConsumer)
This method is called by Nifty when it's ready to process input events.
|
void |
setMousePosition(int x,
int y)
This allows Nifty to set the position of the mouse to the given coordinate with
(0,0) being the upper left corner of the screen.
|
void |
setResourceLoader(NiftyResourceLoader niftyResourceLoader)
Gives this InputSystem access to the NiftyResourceLoader.
|
public void setResourceLoader(NiftyResourceLoader niftyResourceLoader)
InputSystemsetResourceLoader in interface InputSystemniftyResourceLoader - NiftyResourceLoaderpublic void forwardEvents(NiftyInputConsumer inputEventConsumer)
InputSystemforwardEvents in interface InputSysteminputEventConsumer - the NiftyInputConsumer to forward input events topublic void setMousePosition(int x,
int y)
InputSystemsetMousePosition in interface InputSystemx - x coordinate of mousey - y coordinate of mouseCopyright © 2013. All Rights Reserved.