prendy
Version:
Make games with prerendered backdrops using babylonjs and repond
12 lines (11 loc) • 436 B
TypeScript
import { Sound } from "@babylonjs/core";
import { MusicName, SoundName } from "../../types";
type MusicRefs = {
[K_MusicName in MusicName]: null | Sound;
};
export declare function makeAutomaticMusicStartRefs(musicNames: readonly MusicName[]): MusicRefs;
type SoundRefs = {
[K_SoundName in SoundName]: null | Sound;
};
export declare function makeAutomaticSoundStartRefs(soundNames: readonly SoundName[]): SoundRefs;
export {};