Package gaiasky.interafce
Class NaturalMouseKbdListener.GaiaGestureListener
- java.lang.Object
-
- com.badlogic.gdx.input.GestureDetector.GestureAdapter
-
- gaiasky.interafce.NaturalMouseKbdListener.GaiaGestureListener
-
- All Implemented Interfaces:
com.badlogic.gdx.input.GestureDetector.GestureListener
- Enclosing class:
- NaturalMouseKbdListener
protected static class NaturalMouseKbdListener.GaiaGestureListener extends com.badlogic.gdx.input.GestureDetector.GestureAdapter
-
-
Field Summary
Fields Modifier and Type Field Description NaturalMouseKbdListener
inputListener
-
Constructor Summary
Constructors Modifier Constructor Description protected
GaiaGestureListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
fling(float velocityX, float velocityY, int button)
boolean
longPress(float x, float y)
boolean
pan(float x, float y, float deltaX, float deltaY)
boolean
pinch(com.badlogic.gdx.math.Vector2 initialPointer1, com.badlogic.gdx.math.Vector2 initialPointer2, com.badlogic.gdx.math.Vector2 pointer1, com.badlogic.gdx.math.Vector2 pointer2)
boolean
tap(float x, float y, int count, int button)
boolean
touchDown(float x, float y, int pointer, int button)
boolean
zoom(float initialDistance, float distance)
-
-
-
Field Detail
-
inputListener
public NaturalMouseKbdListener inputListener
-
-
Method Detail
-
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
-
tap
public boolean tap(float x, float y, int count, int button)
- Specified by:
tap
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
tap
in classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
longPress
public boolean longPress(float x, float y)
- Specified by:
longPress
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
longPress
in classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
fling
public boolean fling(float velocityX, float velocityY, int button)
- Specified by:
fling
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
fling
in classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
pan
public boolean pan(float x, float y, float deltaX, float deltaY)
- Specified by:
pan
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
pan
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
-
pinch
public boolean pinch(com.badlogic.gdx.math.Vector2 initialPointer1, com.badlogic.gdx.math.Vector2 initialPointer2, com.badlogic.gdx.math.Vector2 pointer1, com.badlogic.gdx.math.Vector2 pointer2)
- Specified by:
pinch
in interfacecom.badlogic.gdx.input.GestureDetector.GestureListener
- Overrides:
pinch
in classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
-