Skip to content

SoundEffectDefinition

interface SoundEffectDefinition
Example
fun ringBell(player: Actor, bell: SoundEffectDefinition) {
player.playSound(bell)
bell.spawn(player.tile4, radius = 8)
}
val name: String
val id: Int
val asset: Asset