Skip to content

GraphicDefinition

interface GraphicDefinition
Example
fun sparkle(player: Actor, sparkle: GraphicDefinition) {
sparkle.spawn(player.tile4, height = 50)
player.message("The air sparkles around you.")
}
val name: String
val id: Int
val asset: Asset