Class GameMouseKbdListener

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.badlogic.gdx.input.GestureDetector

        com.badlogic.gdx.input.GestureDetector.GestureAdapter, com.badlogic.gdx.input.GestureDetector.GestureListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      void deactivate()  
      float getResponseTime()  
      boolean keyDown​(int keycode)  
      boolean keyUp​(int keycode)  
      boolean mouseMoved​(int screenX, int screenY)  
      void notify​(Events event, java.lang.Object... data)  
      boolean touchUp​(float x, float y, int pointer, int button)  
      void update()  
      • Methods inherited from class com.badlogic.gdx.input.GestureDetector

        cancel, invalidateTapSquare, isLongPressed, isLongPressed, isPanning, reset, setLongPressSeconds, setMaxFlingDelay, setTapCountInterval, setTapRectangleSize, setTapSquareSize, touchDown, touchDown, touchDragged, touchDragged, touchUp
      • Methods inherited from class com.badlogic.gdx.InputAdapter

        keyTyped, scrolled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GameMouseKbdListener

        public GameMouseKbdListener​(gaiasky.interfce.GameMouseKbdListener.GameGestureListener l,
                                    NaturalCamera naturalCamera)
      • GameMouseKbdListener

        public GameMouseKbdListener​(NaturalCamera naturalCamera)
    • Method Detail

      • keyDown

        public boolean keyDown​(int keycode)
        Specified by:
        keyDown in interface com.badlogic.gdx.InputProcessor
        Overrides:
        keyDown in class MouseKbdListener
      • keyUp

        public boolean keyUp​(int keycode)
        Specified by:
        keyUp in interface com.badlogic.gdx.InputProcessor
        Overrides:
        keyUp in class MouseKbdListener
      • mouseMoved

        public boolean mouseMoved​(int screenX,
                                  int screenY)
        Specified by:
        mouseMoved in interface com.badlogic.gdx.InputProcessor
        Overrides:
        mouseMoved in class com.badlogic.gdx.InputAdapter
      • touchUp

        public boolean touchUp​(float x,
                               float y,
                               int pointer,
                               int button)
        Overrides:
        touchUp in class com.badlogic.gdx.input.GestureDetector
      • notify

        public void notify​(Events event,
                           java.lang.Object... data)
        Specified by:
        notify in interface IObserver