Package gaiasky.input

Class MainMouseKbdListener.GaiaGestureListener

java.lang.Object
com.badlogic.gdx.input.GestureDetector.GestureAdapter
gaiasky.input.MainMouseKbdListener.GaiaGestureListener
All Implemented Interfaces:
com.badlogic.gdx.input.GestureDetector.GestureListener
Enclosing class:
MainMouseKbdListener

protected static class MainMouseKbdListener.GaiaGestureListener extends com.badlogic.gdx.input.GestureDetector.GestureAdapter
  • Field Details

  • Constructor Details

    • GaiaGestureListener

      protected GaiaGestureListener()
  • Method Details

    • touchDown

      public boolean touchDown(float x, float y, int pointer, int button)
      Specified by:
      touchDown in interface com.badlogic.gdx.input.GestureDetector.GestureListener
      Overrides:
      touchDown in class com.badlogic.gdx.input.GestureDetector.GestureAdapter
    • zoom

      public boolean zoom(float initialDistance, float distance)
      Specified by:
      zoom in interface com.badlogic.gdx.input.GestureDetector.GestureListener
      Overrides:
      zoom in class com.badlogic.gdx.input.GestureDetector.GestureAdapter