OpenDiablo2/d2common/d2interface/sound_effect.go

11 lines
207 B
Go

package d2interface
// SoundEffect is something that that the AudioProvider can Play or Stop
type SoundEffect interface {
Play()
Stop()
SetPan(pan float64)
IsPlaying() bool
SetVolume(volume float64)
}