Add InputHandlingProcessor
This commit is contained in:
parent
6e1405afc9
commit
1d71f35627
52
src/com/annimon/influencexxii/InputHandlingProcessor.java
Normal file
52
src/com/annimon/influencexxii/InputHandlingProcessor.java
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
package com.annimon.influencexxii;
|
||||||
|
|
||||||
|
import com.badlogic.gdx.InputProcessor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Input handling by keyboard or touch
|
||||||
|
* @author aNNiMON
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class InputHandlingProcessor implements InputProcessor {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean keyDown(int keycode) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean keyUp(int keycode) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean keyTyped(char character) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean touchDown(int screenX, int screenY, int pointer, int button) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean touchUp(int screenX, int screenY, int pointer, int button) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean touchDragged(int screenX, int screenY, int pointer) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean mouseMoved(int screenX, int screenY) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean scrolled(int amount) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user