JingleDefinition
interface JingleDefinitionfun celebrate(player: Actor, fanfare: JingleDefinition) { player.findComponent<Audio>()?.playJingle(fanfare) player.message("Congratulations! (${fanfare.durationInMilliseconds / 1000} seconds of fanfare)")}val name: Stringval id: Intval asset: AssetdurationInMilliseconds
Section titled “durationInMilliseconds”val durationInMilliseconds: Int