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
isInDimension
Link copied to clipboard
fun isInDimension(inventoryDimensions: InventoryDimensions): Boolean
realSlotIn
Link copied to clipboard
fun realSlotIn(inventoryDimensions: InventoryDimensions): Int?

Properties

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