Fixed missing SoundFile decl

This commit is contained in:
WolverinDEV 2020-03-18 23:12:44 +01:00
parent 41a94d0831
commit 6f9544e7f6
1 changed files with 4 additions and 0 deletions

View File

@ -2626,6 +2626,10 @@ declare namespace sound {
key: string;
filename: string;
}
export interface SoundFile {
path: string;
volume?: number;
}
export function get_sound_volume(sound: Sound, default_volume?: number): number;
export function set_sound_volume(sound: Sound, volume: number);
export function get_master_volume(): number;