Theme

class Theme(val drawables: Map<String, Map<String, Drawable>> = mapOf(), val fonts: Map<String, Map<String, BitmapFont>> = mapOf(), val colors: Map<String, Map<String, Color>> = mapOf(), val constants: Map<String, Map<String, Int>> = mapOf(), val defaultFont: BitmapFont? = null)

Author

Colton Daily

Constructors

Link copied to clipboard
fun Theme(drawables: Map<String, Map<String, Drawable>> = mapOf(), fonts: Map<String, Map<String, BitmapFont>> = mapOf(), colors: Map<String, Map<String, Color>> = mapOf(), constants: Map<String, Map<String, Int>> = mapOf(), defaultFont: BitmapFont? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A map of colors mapped by Node type, mapped by variable name and value.

Link copied to clipboard

A map of constants mapped by Node type, mapped by variable name and value.

Link copied to clipboard
val defaultFont: BitmapFont? = null
Link copied to clipboard

A map of drawables mapped by Node type, mapped by variable name and value.

Link copied to clipboard

A map of fonts mapped by Node type, mapped by variable name and value.