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

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

Introduction

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

Prototype

public boolean touchUp(float x, float y, int pointer, int button) 

Source Link

Usage

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

License:Open Source License

@Override
public boolean touchUp(int screenX, int screenY, int pointer, int button) {
    boolean value = false;
    for (GestureDetector detector : detectors) {
        if (detector.touchUp(screenX, screenY, pointer, button)) {
            value = true;//w w w . ja  va2s .co  m
        }
    }
    return value;
}