Class DummyKeyboardWrapper

java.lang.Object
com.ardor3d.input.logical.DummyKeyboardWrapper
All Implemented Interfaces:
KeyboardWrapper

public class DummyKeyboardWrapper extends Object implements KeyboardWrapper
A "do-nothing" implementation of KeyboardWrapper useful when you want to ignore (or do not need) key events.
  • Field Details

  • Constructor Details

    • DummyKeyboardWrapper

      public DummyKeyboardWrapper()
  • Method Details

    • getEvents

      public PeekingIterator<KeyEvent> getEvents()
      Description copied from interface: KeyboardWrapper
      Returns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.
      Specified by:
      getEvents in interface KeyboardWrapper
      Returns:
      an iterator that allows the client to check which events have still not been handled
    • init

      public void init()
      Description copied from interface: KeyboardWrapper
      Allows the keyboard wrapper implementation to initialise itself.
      Specified by:
      init in interface KeyboardWrapper