Package com.csse3200.game.minigame
Class MiniGameInputComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.input.InputComponent
com.csse3200.game.minigame.MiniGameInputComponent
- All Implemented Interfaces:
com.badlogic.gdx.input.GestureDetector.GestureListener
,com.badlogic.gdx.InputProcessor
-
Field Summary
Fields inherited from class com.csse3200.game.input.InputComponent
inputPriority
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.csse3200.game.input.InputComponent
create, dispose, fling, getInputPriority, keyTyped, keyUp, longPress, mouseMoved, pan, panStop, pinch, pinchStop, pinchStopHandled, scrolled, setInputPriority, tap, touchDown, touchDown, touchDragged, touchUp, zoom
Methods inherited from class com.csse3200.game.components.Component
earlyUpdate, getEntity, getPriority, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
MiniGameInputComponent
public MiniGameInputComponent(boolean isGameOverScreen)
-
-
Method Details
-
keyDown
public boolean keyDown(int key) - Specified by:
keyDown
in interfacecom.badlogic.gdx.InputProcessor
- Overrides:
keyDown
in classInputComponent
- See Also:
-