libgdx API

com.badlogic.gdx.input
Interface GestureDetector.GestureListener

All Known Implementing Classes:
GestureDetector.GestureAdapter
Enclosing class:
GestureDetector

public static interface GestureDetector.GestureListener


Method Summary
 boolean fling(float velocityX, float velocityY)
           
 boolean longPress(int x, int y)
           
 boolean pan(int x, int y, int deltaX, int deltaY)
           
 boolean pinch(Vector2 initialFirstPointer, Vector2 initialSecondPointer, Vector2 firstPointer, Vector2 secondPointer)
           
 boolean tap(int x, int y, int count)
           
 boolean touchDown(int x, int y, int pointer)
           
 boolean zoom(float originalDistance, float currentDistance)
           
 

Method Detail

touchDown

boolean touchDown(int x,
                  int y,
                  int pointer)

tap

boolean tap(int x,
            int y,
            int count)

longPress

boolean longPress(int x,
                  int y)

fling

boolean fling(float velocityX,
              float velocityY)

pan

boolean pan(int x,
            int y,
            int deltaX,
            int deltaY)

zoom

boolean zoom(float originalDistance,
             float currentDistance)

pinch

boolean pinch(Vector2 initialFirstPointer,
              Vector2 initialSecondPointer,
              Vector2 firstPointer,
              Vector2 secondPointer)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)