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

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

Introduction

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

Prototype

public boolean keyUp(int keycode) 

Source Link

Usage

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

License:Open Source License

@Override
public boolean keyUp(int keycode) {
    boolean value = false;
    for (GestureDetector detector : detectors) {
        if (detector.keyUp(keycode)) {
            value = true;/*from  w  w w. j ava 2s  .c o  m*/
        }
    }
    return value;
}