IconSheet

class IconSheet(resources: Resources, textureName: String, val size: Int)

Constructors

Link copied to clipboard
constructor(resources: Resources, textureName: String, size: Int)

Properties

Link copied to clipboard
val size: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun addIcon(name: String, x: Int, y: Int)
Link copied to clipboard
operator fun get(name: String): Pair<Int, Int>?
Link copied to clipboard
fun IconSheet.grid(left: Int, top: Int, spacing: Int, block: IconGrid.() -> Unit)
Link copied to clipboard
fun IconSheet.icon(name: String, x: Int, y: Int)
Link copied to clipboard
fun IconSheet.row(left: Int, top: Int, spacing: Int, vararg names: String)
fun IconSheet.row(prefix: String, left: Int, top: Int, spacing: Int, vararg names: String)