|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputSystem
Interface for Niftys InputSystem.
Method Summary | |
---|---|
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 RenderDevice access to the NiftyResourceLoader. |
Method Detail |
---|
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 mouse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |