Skip to content

AnimationDefinition

interface AnimationDefinition
Example
fun cheer(player: Actor, cheer: AnimationDefinition) {
player.replaceComponent(Animating(cheer.id))
player.message("You cheer.")
}
val name: String
val id: Int
val asset: Asset