Package com.ardor3d.input.logical
Class DummyKeyboardWrapper
java.lang.Object
com.ardor3d.input.logical.DummyKeyboardWrapper
- All Implemented Interfaces:
KeyboardWrapper
A "do-nothing" implementation of KeyboardWrapper useful when you want to ignore (or do not need) key events.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ardor3d.input.KeyboardWrapper
KeyboardWrapper.KeyboardIterator -
Field Summary
FieldsFields inherited from interface com.ardor3d.input.KeyboardWrapper
_upcomingEvents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.voidinit()Allows the keyboard wrapper implementation to initialise itself.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DummyKeyboardWrapper
public DummyKeyboardWrapper()
-
-
Method Details
-
getEvents
Description copied from interface:KeyboardWrapperReturns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.- Specified by:
getEventsin interfaceKeyboardWrapper- Returns:
- an iterator that allows the client to check which events have still not been handled
-
init
public void init()Description copied from interface:KeyboardWrapperAllows the keyboard wrapper implementation to initialise itself.- Specified by:
initin interfaceKeyboardWrapper
-