OpenDiablo2/d2common/d2interface/audio_provider.go

8 lines
168 B
Go

package d2interface
type AudioProvider interface {
PlayBGM(song string)
LoadSoundEffect(sfx string) (SoundEffect, error)
SetVolumes(bgmVolume, sfxVolume float64)
}