Example usage for com.badlogic.gdx.input GestureDetector touchDragged

List of usage examples for com.badlogic.gdx.input GestureDetector touchDragged

Introduction

In this page you can find the example usage for com.badlogic.gdx.input GestureDetector touchDragged.

Prototype

public boolean touchDragged(float x, float y, int pointer) 

Source Link

Usage

From source file:de.bitbrain.craft.events.GestureManager.java

License:Open Source License

@Override
public boolean touchDragged(int screenX, int screenY, int pointer) {
    boolean value = false;
    for (GestureDetector detector : detectors) {
        if (detector.touchDragged(screenX, screenY, pointer)) {
            value = true;//from  w w w .  j a va2s . c  o  m
        }
    }
    return value;
}