Package de.tum.cit.ase.maze.Input
Class GameInputProcessor
java.lang.Object
com.badlogic.gdx.InputAdapter
de.tum.cit.ase.maze.Input.GameInputProcessor
- All Implemented Interfaces:
com.badlogic.gdx.InputProcessor
public class GameInputProcessor
extends com.badlogic.gdx.InputAdapter
-
Constructor Summary
-
Method Summary
Methods inherited from class com.badlogic.gdx.InputAdapter
keyTyped, mouseMoved, scrolled, touchCancelled, touchDown, touchDragged, touchUp
-
Constructor Details
-
GameInputProcessor
-
-
Method Details
-
keyDown
public boolean keyDown(int keycode) - Specified by:
keyDown
in interfacecom.badlogic.gdx.InputProcessor
- Overrides:
keyDown
in classcom.badlogic.gdx.InputAdapter
- Parameters:
keycode
- one of the constants inInput.Keys
- Returns:
-
keyUp
public boolean keyUp(int keycode) - Specified by:
keyUp
in interfacecom.badlogic.gdx.InputProcessor
- Overrides:
keyUp
in classcom.badlogic.gdx.InputAdapter
- Parameters:
keycode
- one of the constants inInput.Keys
- Returns:
-