OpenDiablo2/d2common/d2interface/sound_effect.go

10 lines
186 B
Go

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