KtxInputListener

open class KtxInputListener : InputListener

Extends com.badlogic.gdx.scenes.scene2d.InputListener for the sole purpose of getting guarantees on nullability. Provides no-op implementations of all methods, making them optional to implement.

See also

InputListener

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun enter(event: InputEvent, x: Float, y: Float, pointer: Int, fromActor: Actor?)
Link copied to clipboard
open override fun exit(event: InputEvent, x: Float, y: Float, pointer: Int, toActor: Actor?)
Link copied to clipboard
open override fun handle(p0: Event): Boolean
Link copied to clipboard
open override fun keyDown(event: InputEvent, keycode: Int): Boolean
Link copied to clipboard
open override fun keyTyped(event: InputEvent, character: Char): Boolean
Link copied to clipboard
open override fun keyUp(event: InputEvent, keycode: Int): Boolean
Link copied to clipboard
open override fun mouseMoved(event: InputEvent, x: Float, y: Float): Boolean
Link copied to clipboard
open override fun scrolled(event: InputEvent, x: Float, y: Float, amountX: Float, amountY: Float): Boolean
Link copied to clipboard
open override fun touchDown(event: InputEvent, x: Float, y: Float, pointer: Int, button: Int): Boolean
Link copied to clipboard
open override fun touchDragged(event: InputEvent, x: Float, y: Float, pointer: Int)
Link copied to clipboard
open override fun touchUp(event: InputEvent, x: Float, y: Float, pointer: Int, button: Int)