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 com.flaiker.reaktio.game.Game.java

public class Game implements InputProcessor {
    private GameSettings gameSettings;

    private float gameTimeElapsed = 0;
    private ScoreEntry score = null;
    private float timeSinceLastSpawn = 0;

From source file com.forerunnergames.peril.client.ui.screens.game.play.modes.classic.debug.DebugInputProcessor.java

public interface DebugInputProcessor extends InputProcessor {
    DebugInputProcessor NULL = new NullDebugInputProcessor();

    void setPlayMap(final PlayMap playMap);

    void reset();

From source file com.forerunnergames.peril.client.ui.screens.game.play.modes.peril.BattleGrid.java

public final class BattleGrid extends Table implements InputProcessor {
    private final Unit unit;
    private final Table unitTable;

    public BattleGrid(final Image gridLinesImage, final Unit unit) {
        Arguments.checkIsNotNull(gridLinesImage, "gridLinesImage");

From source file com.forerunnergames.peril.client.ui.screens.game.play.modes.peril.Unit.java

public interface Unit extends InputProcessor {
    enum MovementDirection {
        FORWARD, REVERSE, NONE
    }

    enum TurnDirection {

From source file com.game.HelloWorld.java

public class HelloWorld implements ApplicationListener, InputProcessor {

    Texture mT;
    Texture texture;
    BitmapFont font;
    Vector2 textPosition = new Vector2(100, 100);

From source file com.gamecell.spacecraft.Screens.InfoScreen.java

/**
 *
 * @author
 *
 */
public class InfoScreen implements Screen, InputProcessor {

From source file com.gamejolt.mikykr5.ceidecpong.states.BaseState.java

/**
 * Base class for all the game states.
 * 
 * @author Miguel Astor
 */
public abstract class BaseState implements Screen, InputProcessor {

From source file com.garciagars.Game.java

public class Game extends com.badlogic.gdx.Game implements InputProcessor {

    public interface GameCallback {
        void onGameOver(float score);
    }

From source file com.github.fauu.helix.editor.EditorInputEventProcessor.java

public class EditorInputEventProcessor implements InputProcessor {

    @Override
    public boolean keyDown(int keycode) {
        switch (keycode) {
        case Input.Keys.F4:

From source file com.group6.penguinsgame.Penguins.java

public class Penguins implements ApplicationListener, InputProcessor, Screen {

    private GameWorld w;
    private WorldRenderer renderer;

    private int width;