Example usage for com.badlogic.gdx InputAdapter subclass-usage

List of usage examples for com.badlogic.gdx InputAdapter subclass-usage

Introduction

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

Usage

From source file OrbitingCameraController.java

/**
 * Basic class that allows the camera to orbit around a given pivot point.
 * Contains built-in input adapter to handle it.
 * If one were to use an {@link com.badlogic.gdx.InputMultiplexer}, this should be the last InputProcessor added to order.
 *
 * NOTE: the actualXXX values have animation smoothing applied to them (i.e. the ones actually seen by the player)

From source file OrthoCamController.java

public class OrthoCamController extends InputAdapter {
    final OrthographicCamera camera;
    final Vector3 curr = new Vector3();
    final Vector3 last = new Vector3(-1, -1, -1);
    final Vector3 delta = new Vector3();

From source file airfoil.etc.Controller.java

/**
 * 
 * @author jdp
 */
public abstract class Controller extends InputAdapter {
    private final static Vector3 XA = new Vector3(1, 0, 0);

From source file at.therefactory.jewelthief.input.GameScreenInputAdapter.java

/**
 * The input handler for the GameScreen.
 */
public class GameScreenInputAdapter extends InputAdapter {

    private final Hud hud;

From source file at.therefactory.jewelthief.input.MenuScreenInputAdapter.java

public class MenuScreenInputAdapter extends InputAdapter {

    private final FitViewport viewport;
    private final MenuScreen menuScreen;
    private final KeyboardInputListener listener;
    private int numTouches;

From source file at.tugraz.ist.catroid.stage.OrthoCamController.java

public class OrthoCamController extends InputAdapter {
    final OrthographicCamera camera;
    final Vector3 curr = new Vector3();
    final Vector3 last = new Vector3(-1, -1, -1);
    final Vector3 delta = new Vector3();

From source file aurelienribon.texturepackergui.PanZoomInputProcessor.java

/**
 * @author Aurelien Ribon | http://www.aurelienribon.com/
 */
public class PanZoomInputProcessor extends InputAdapter {
    private final Canvas canvas;
    private final Vector2 lastTouch = new Vector2();

From source file com.aeroextrem.engine.util.ChaseCameraController.java

/** Third-person 3D camera controller.
 *
 * Use arrows or drag mouse to look around.
 *
 * @author Richard Patel */
public class ChaseCameraController extends InputAdapter {

From source file com.alma42.mapgen.game.WorldController.java

public class WorldController extends InputAdapter {

    private static final String TAG = WorldController.class.getName();

    public CameraHelper cameraHelper;
    public Map map;

From source file com.altportalgames.colorrain.input.OrthoCamController.java

public class OrthoCamController extends InputAdapter {
    final OrthographicCamera camera;
    final Vector3 curr = new Vector3();
    final Vector3 last = new Vector3(-1, -1, -1);
    public final static Vector3 delta = new Vector3();
    public static float DeltaCamX;