mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-04 09:17:17 -05:00
c840e140f7
Randomly pan event sounds Adapted from ebiten example
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)
|
|
}
|