@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
16 lines (11 loc) • 332 B
JavaScript
import { ContainerAudioClip } from "./ContainerAudioClip.js";
/**
* When being played back, will play a random child element
*/
export class RandomContainerAudioClip extends ContainerAudioClip {
/**
* Try not to repeat last X played sounds
* @type {number}
*/
avoid_repeating_last = 1;
}