Fixed missing SoundFile decl
This commit is contained in:
parent
41a94d0831
commit
6f9544e7f6
@ -2626,6 +2626,10 @@ declare namespace sound {
|
|||||||
key: string;
|
key: string;
|
||||||
filename: string;
|
filename: string;
|
||||||
}
|
}
|
||||||
|
export interface SoundFile {
|
||||||
|
path: string;
|
||||||
|
volume?: number;
|
||||||
|
}
|
||||||
export function get_sound_volume(sound: Sound, default_volume?: number): number;
|
export function get_sound_volume(sound: Sound, default_volume?: number): number;
|
||||||
export function set_sound_volume(sound: Sound, volume: number);
|
export function set_sound_volume(sound: Sound, volume: number);
|
||||||
export function get_master_volume(): number;
|
export function get_master_volume(): number;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user