public interface InputSystem
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.
|
void setResourceLoader(NiftyResourceLoader niftyResourceLoader)
niftyResourceLoader
- NiftyResourceLoadervoid forwardEvents(NiftyInputConsumer inputEventConsumer)
inputEventConsumer
- the NiftyInputConsumer to forward input events tovoid setMousePosition(int x, int y)
x
- x coordinate of mousey
- y coordinate of mouseCopyright © 2013. All Rights Reserved.