mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-19 19:06:45 -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)
|
|
}
|