mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-19 21:55:24 +00:00
8 lines
168 B
Go
8 lines
168 B
Go
|
package d2interface
|
||
|
|
||
|
type AudioProvider interface {
|
||
|
PlayBGM(song string)
|
||
|
LoadSoundEffect(sfx string) (SoundEffect, error)
|
||
|
SetVolumes(bgmVolume, sfxVolume float64)
|
||
|
}
|