Package com.prineside.tdi2.utils
Class InputVoid
java.lang.Object
com.badlogic.gdx.scenes.scene2d.InputListener
com.prineside.tdi2.utils.InputVoid
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.EventListener
public class InputVoid
extends com.badlogic.gdx.scenes.scene2d.InputListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmouseMoved(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y) Called any time the mouse is moved when a button is not down.booleantouchDown(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y, int pointer, int button) Called when a mouse button or a finger touch goes down on the actor.Methods inherited from class com.badlogic.gdx.scenes.scene2d.InputListener
enter, exit, handle, keyDown, keyTyped, keyUp, scrolled, touchDragged, touchUp
-
Constructor Details
-
InputVoid
public InputVoid()
-
-
Method Details
-
touchDown
public boolean touchDown(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y, int pointer, int button) Description copied from class:com.badlogic.gdx.scenes.scene2d.InputListenerCalled when a mouse button or a finger touch goes down on the actor. If true is returned, this listener will havetouch focus, so it will receive all touchDragged and touchUp events, even those not over this actor, until touchUp is received. Also when true is returned, the event ishandled.- Overrides:
touchDownin classcom.badlogic.gdx.scenes.scene2d.InputListener- See Also:
-
InputEvent
-
mouseMoved
public boolean mouseMoved(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y) Description copied from class:com.badlogic.gdx.scenes.scene2d.InputListenerCalled any time the mouse is moved when a button is not down. This event only occurs on the desktop. When true is returned, the event ishandled.- Overrides:
mouseMovedin classcom.badlogic.gdx.scenes.scene2d.InputListener- See Also:
-
InputEvent
-