Example usage for com.badlogic.gdx.input GestureDetector subclass-usage

List of usage examples for com.badlogic.gdx.input GestureDetector subclass-usage

Introduction

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

Usage

From source file com.andgate.ikou.controller.CameraInputController.java

public class CameraInputController extends GestureDetector implements PlayerTransformListener {
    private static final String TAG = "CameraInputController";

    private final PerspectiveCamera camera;
    private final Player player;

From source file com.andgate.ikou.controller.PlayerDirectionGestureDetector.java

public class PlayerDirectionGestureDetector extends GestureDetector {
    private static final String TAG = "PlayerDirectionGestureDetector";

    private final DirectionGestureListener directionGestureListener;

    public PlayerDirectionGestureDetector(DirectionListener directionListener,

From source file com.codefiddler.libgdx.tetris.util.SimpleDirectionGestureDetector.java

public class SimpleDirectionGestureDetector extends GestureDetector {

    public SimpleDirectionGestureDetector(DirectionListener directionListener) {
        super(new DirectionGestureListener(directionListener));
    }

From source file com.ridiculousRPG.service.GestureDetectorService.java

/**
 * You can extend from this one instead or {@link GameService} if you need
 * gesture detection within your service.
 * 
 * @author Alexander Baumgartner
 */

From source file io.developersguild.CameraController.java

public class CameraController extends GestureDetector {
    /** The angle to rotate when moved the full width or height of the screen. */
    private float rotateAngle = 360f;
    /** The key which must be pressed to activate rotate, translate and forward or 0 to always activate. */
    private int activateKey = 0;
    /** Indicates if the activateKey is currently being pressed. */

From source file ru.alastar.editor.CameraController.java

public class CameraController extends GestureDetector {
    /** The angle to rotate when moved the full width or height of the screen. */
    private final float rotateAngle = 360f;
    /** The units to translate the camera when moved the full width or height of the screen. */
    private final float translateUnits = 10f; // FIXME auto calculate this based on the target
    /** The key which must be pressed to activate rotate, translate and forward or 0 to always activate. */