MouseListener

object MouseListener

Types

Link copied to clipboard
class State(x: Double, y: Double)

Functions

Link copied to clipboard
fun clearListeners()
Link copied to clipboard
fun onGuiMouseInput(event: GuiScreenEvent.MouseInputEvent.Pre)
Link copied to clipboard
fun onMouseInput(event: MouseEvent)
Link copied to clipboard
fun registerClickListener(listener: (x: Double, y: Double, button: Int, pressed: Boolean) -> Unit)
Link copied to clipboard
fun registerDraggedListener(listener: (deltaX: Double, deltaY: Double, x: Double, y: Double, button: Int) -> Unit)
Link copied to clipboard
fun registerScrollListener(listener: (x: Double, y: Double, delta: Int) -> Unit)
Link copied to clipboard
fun registerTriggerListeners()

Sources

Link copied to clipboard