Slot

data class Slot(val x: Int, val y: Int)

Represents a slot in a GUI.

Constructors

Link copied to clipboard
constructor(x: Int, y: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val x: Int

The row index (0-indexed).

Link copied to clipboard
val y: Int

The column index (0-indexed).

Functions

Link copied to clipboard
fun slot(): Int

Returns the raw index of the slot (0-indexed).