mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 11:34:15 -04:00
11 lines
207 B
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)
|
|
}
|