Example usage for com.badlogic.gdx InputProcessor interface-usage

List of usage examples for com.badlogic.gdx InputProcessor interface-usage

Introduction

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

Usage

From source file ca.hiphiparray.amazingmaze.FishMiniGame.java

/**
 * The fish minigame.
 *
 * @since 0.3
 * @author Susie Son
 * @author Vincent Macri

From source file ca.hiphiparray.amazingmaze.MazeScreen.java

/**
 * The maze screen. This is where most of the gameplay takes place.
 *
 * @since 0.1
 * @author Vincent Macri
 * @author Chloe Nguyen

From source file ca.hiphiparray.amazingmaze.SettingsScreen.java

/**
 * SettingsScreen allows users to adjust the settings for the game.
 *
 * @since 0.2
 * @author Chloe Nguyen
 * @author Vincent Macri

From source file cocos2d.touch_dispatcher.CCInputProcessor.java

public class CCInputProcessor implements InputProcessor {
    //   private CCTouchDispatcher m_pDelegate;
    //   private int _lastMouseId;
    //   
    //   public CCInputProcessor(){
    //      m_pDelegate = CCDirector.sharedDirector().getTouchDispatcher();

From source file com.a2client.Input.java

public class Input implements InputProcessor {
    private static boolean[] Keys = new boolean[256];
    private static boolean[] HitKeys = new boolean[256];
    public static boolean[] MouseBtns = new boolean[3];

    public static int MouseX = 0;

From source file com.badlogic.gdx.tests.Box2DTestCollection.java

public class Box2DTestCollection extends GdxTest implements InputProcessor, GestureListener {
    private final Box2DTest[] tests = { new DebugRendererTest(), new CollisionFiltering(), new Chain(),
            new Bridge(), new SphereStack(), new Cantilever(), new ApplyForce(), new ContinuousTest(),
            new Prismatic(), new CharacterCollision(), new BodyTypes(), new SimpleTest(), new Pyramid(),
            new OneSidedPlatform(), new VerticalStack(), new VaryingRestitution(), new ConveyorBelt() };

From source file com.badlogic.gdx.tests.BulletTestCollection.java

/** @author xoppa */
public class BulletTestCollection extends GdxTest implements InputProcessor, GestureListener {
    protected final BulletTest[] tests = { new BasicBulletTest(), new ShootTest(), new BasicShapesTest(),
            new KinematicTest(), new ConstraintsTest(), new MeshShapeTest(), new ConvexHullTest(),
            new ConvexHullDistanceTest(), new RayCastTest(), new RayPickRagdollTest(), new InternalTickTest(),
            new CollisionWorldTest(), new CollisionTest(), new FrustumCullingTest(), new CollisionDispatcherTest(),

From source file com.badlogic.gdx.tests.dragome.examples.Box2DTestCollection.java

public class Box2DTestCollection implements ApplicationListener, InputProcessor, GestureListener {
    private final Box2DTest[] tests = { new DebugRendererTest(), new CollisionFiltering(), new Chain(),
            new Bridge(), new SphereStack(), new Cantilever(), new ApplyForce(), new ContinuousTest(),
            new Prismatic(), new CharacterCollision(), new BodyTypes(), new SimpleTest(), new Pyramid(),
            new OneSidedPlatform(), new VerticalStack(), new VaryingRestitution(), new ConveyorBelt() };

From source file com.badlogic.gdx.tests.Water.java

public class Water extends GdxTest implements InputProcessor {
    static final short WIDTH = 50;
    static final short HEIGHT = 50;
    static final float INV_WIDTH = 1.0f / WIDTH;
    static final float INV_HEIGHT = 1.0f / HEIGHT;
    static final float DAMPING = 0.9f;

From source file com.badlogic.gdx.tests.WaterRipples.java

public class WaterRipples extends GdxTest implements InputProcessor {
    static final short WIDTH = 50;
    static final short HEIGHT = 50;
    static final float INV_WIDTH = 1.0f / WIDTH;
    static final float INV_HEIGHT = 1.0f / HEIGHT;
    static final float DAMPING = 0.9f;