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 com.sertaogames.cactus2d.misc.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 com.sturdyhelmetgames.dodgethecars.screen.BasicScreen.java

/**
 * Basic stuff needed by all game screens.
 * 
 * @author Antti 18.6.2012
 * 
 */

From source file com.sturdyhelmetgames.roomforchange.screen.Basic2DScreen.java

/**
 * A basic screen that implements some commonly needed features in all games
 * like {@link InputAdapter} and {@link Screen}.
 * 
 * @author Antti
 * 

From source file com.thetruthbeyond.gui.input.Cursor.java

/**
 * @author Siatek
 * Cursor class wraps the input methods and provides convenient
 * interface to control mouse and game cursor.
 * Up left corner coordinate system is used.
 */

From source file com.thetruthbeyond.gui.input.Keyboard.java

public class Keyboard extends InputAdapter {

    private static Keyboard instance;

    private String filterSigns = "";
    private final HashSet<Character> filter = new HashSet<>(12);

From source file com.torrosoft.sopistan.input.FingerHandler.java

/**
 * 
 * @author storro
 */
public class FingerHandler extends InputAdapter {
    private FixedList<Vector2> inputPoints;

From source file com.tp.libgdxdemo.util.IntFirstPersonCameraController.java

/**
 * Takes a {@link Camera} instance and controls it via w,a,s,d and mouse panning.
 * Slightly modified from the original one to understand Azerty keyboards (if locale is fr_FR or
 * fr_BE) and handle shift/ctrl to "run"
 * 
 * @author badlogic

From source file com.tp.libgdxdemo.util.PerspectiveCamController.java

public class PerspectiveCamController extends InputAdapter {
    private final static Vector3 tmpV = new Vector3();

    public PerspectiveCamera cam;

    enum TransformMode {

From source file com.uwsoft.editor.gdx.sandbox.SandboxInputAdapter.java

/**
 * Adds listeners to everything sandbox related, including
 * items, entire scene, mouse, keys e.g.
 * Communicates user actions/intentions to Sandbox or UAC
 *
 * @author azakhary

From source file core.september.pushathon.workers.BatchRenderer.java

public abstract class BatchRenderer extends InputAdapter implements Disposable {
    private static final String TAG = BatchRenderer.class.getName();

    protected OrthographicCamera camera;
    protected SpriteBatch batch;
    protected ShapeRenderer shape;