Example usage for com.badlogic.gdx InputProcessor touchUp

List of usage examples for com.badlogic.gdx InputProcessor touchUp

Introduction

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

Prototype

public boolean touchUp(int screenX, int screenY, int pointer, int button);

Source Link

Document

Called when a finger was lifted or a mouse button was released.

Usage

From source file:com.kamigaku.libgdx.extension.InputMultiplexerToggle.java

@Override
public boolean touchUp(int screenX, int screenY, int pointer, int button) {
    for (InputProcessor ip : _processors.keySet())
        if (_processors.get(ip) && ip.touchUp(screenX, screenY, pointer, button))
            return true;
    return false;
}