Package com.prineside.tdi2.utils
Class InputVoid
java.lang.Object
com.prineside.tdi2.scene2d.InputListener
com.prineside.tdi2.utils.InputVoid
- All Implemented Interfaces:
EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
mouseMoved
(InputEvent event, float x, float y) Called any time the mouse is moved when a button is not down.boolean
touchDown
(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.prineside.tdi2.scene2d.InputListener
enter, exit, handle, keyDown, keyTyped, keyUp, scrolled, touchDragged, touchUp
-
Constructor Details
-
InputVoid
public InputVoid()
-
-
Method Details
-
touchDown
Description copied from class:InputListener
Called 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:
touchDown
in classInputListener
- See Also:
-
mouseMoved
Description copied from class:InputListener
Called 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:
mouseMoved
in classInputListener
- See Also:
-