diginext-pixi
Version:
README.md
12 lines (11 loc) • 427 B
TypeScript
export default class SoundController {
static load(list: string[]): Promise<void>;
static play(src: string, options: any): Promise<unknown> | undefined;
static __background: string;
static backgroundSound: any;
static playBackground(src: string, options: any): Promise<any>;
static fadeOutBackground(): Promise<void>;
static off(): void;
static on(): void;
static stop(): void;
}