onTouchEvent
Attaches an InputListener to this actor.
Return
InputListener instance.
Parameters
invoked each time this actor is touched. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
.
invoked each time the touch of the actor is released. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
.
See also
Attaches an InputListener to this actor. Retrieve the InputEvent.type to distinguish between touchDown and touchUp events.
Return
InputListener instance.
Parameters
invoked each time this actor is touched or the touch is released. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
.
See also
Attaches an InputListener to this actor.
Return
InputListener instance.
Parameters
invoked each time this actor is touched. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
. Float parameters are local actor coordinates of the event.
invoked each time the touch of the actor is released. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
. Float parameters are local actor coordinates of the event.
See also
Attaches an InputListener to this actor. Retrieve the InputEvent.type to distinguish between touchDown and touchUp events.
Return
InputListener instance.
Parameters
invoked each time this actor is touched or the touch is released. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
. Float parameters are local actor coordinates of the event.
See also
Attaches an InputListener to this actor.
Return
InputListener instance.
Parameters
invoked each time this actor is touched. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
. Refer to InputListener.touchDown parameters documentation.
invoked each time the touch of the actor is released. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
. Refer to InputListener.touchUp parameters documentation.
See also
Attaches a InputListener to this actor. Retrieve the InputEvent.type to distinguish between touchDown and touchUp events.
Return
InputListener instance.
Parameters
invoked each time this actor is touched or the touch is released. Consumes the triggered InputEvent and the Actor that the listener was originally attached to as this
. Refer to InputListener.touchDown and InputListener.touchUp for parameter details.