Class DummyMouseWrapper

java.lang.Object
com.ardor3d.input.logical.DummyMouseWrapper
All Implemented Interfaces:
MouseWrapper

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

  • Constructor Details

    • DummyMouseWrapper

      public DummyMouseWrapper()
  • Method Details

    • getEvents

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

      public void init()
      Description copied from interface: MouseWrapper
      Allows the mouse wrapper implementation to initialize itself.
      Specified by:
      init in interface MouseWrapper