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 Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.badlogic.gdx.input.GestureDetector.GestureAdapter
fling, longPress, pan, panStop, pinch, pinchStop, tap
-
Field Details
-
inputListener
-
-
Constructor Details
-
GaiaGestureListener
protected GaiaGestureListener()
-
-
Method Details
-
touchDown
public boolean touchDown(float x, float y, int pointer, int button) - Specified by:
touchDown
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
touchDown
in classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
zoom
public boolean zoom(float initialDistance, float distance) - Specified by:
zoom
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
zoom
in classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-