InventorySlot

data class InventorySlot(row: Int, slotInRow: Int) : Comparable<InventorySlot>

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
fun add(offsetHorizontally: Int, offsetVertically: Int): InventorySlot
compareTo
Link copied to clipboard
open operator override fun compareTo(other: InventorySlot): Int
component1
Link copied to clipboard
operator fun component1(): Int
component2
Link copied to clipboard
operator fun component2(): Int
copy
Link copied to clipboard
fun copy(row: Int, slotInRow: Int): InventorySlot
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isInDimension
Link copied to clipboard
fun isInDimension(inventoryDimensions: InventoryDimensions): Boolean
realSlotIn
Link copied to clipboard
fun realSlotIn(inventoryDimensions: InventoryDimensions): Int?
toString
Link copied to clipboard
open override fun toString(): String

Properties

row
Link copied to clipboard
val row: Int
slotInRow
Link copied to clipboard
val slotInRow: Int