InventoryItemPaintItem

class InventoryItemPaintItem(itemId: Int, itemName: String, option: TrackInventoryOption) : PaintItem

Functions

draw
Link copied to clipboard
open override fun draw(graphics: Graphics, x: Int, y: Int)
height
Link copied to clipboard
open override fun height(graphics: Graphics): Float
onGameTick
Link copied to clipboard
fun onGameTick(evt: TickEvent)
onInventoryChange
Link copied to clipboard
fun onInventoryChange(evt: InventoryChangeEvent)
textSize
Link copied to clipboard
open fun textSize(): Float?
width
Link copied to clipboard
open override fun width(graphics: Graphics): Float

Properties

align
Link copied to clipboard
open override var align: Boolean = true
diff
Link copied to clipboard
var diff: Int = 0
itemId
Link copied to clipboard
val itemId: Int
itemName
Link copied to clipboard
val itemName: String
option
Link copied to clipboard
val option: TrackInventoryOption
worth
Link copied to clipboard
var worth: Int = 0