mwg API
    Preparing search index...

    Interface SfxSoundOptions

    interface SfxSoundOptions {
        arbiter?: SfxArbiter;
        bank?: SfxBank;
        caption?: string;
        frame?: () => number;
        volume?: number;
    }
    Index
    arbiter?: SfxArbiter

    the shared voice limit; none means a voice is never cut for another

    bank?: SfxBank

    where an effect given by id is looked up

    caption?: string

    shown with each play when the definition has no caption of its own

    frame?: () => number

    the game's own frame counter, never the wall clock, so seeds repeat across runs; 0 when omitted

    volume?: number

    level, 0 to 1; 1 when omitted