Documentation ¶
Index ¶
- type System
- func (sys *System) ContinueCurrentMusic()
- func (sys *System) ContinueMusic(id resource.AudioID)
- func (sys *System) DecodeOGG(r io.Reader) (*vorbis.Stream, error)
- func (sys *System) DecodeWAV(r io.Reader) (*wav.Stream, error)
- func (sys *System) EnqueueSound(id resource.AudioID)
- func (sys *System) GetContext() *audio.Context
- func (sys *System) Init(audioContext *audio.Context, l *resource.Loader)
- func (sys *System) PauseCurrentMusic()
- func (sys *System) PlayMusic(id resource.AudioID)
- func (sys *System) PlaySound(id resource.AudioID)
- func (sys *System) PlaySoundWithVolume(id resource.AudioID, vol float64)
- func (sys *System) ResetQueue()
- func (sys *System) SetGroupVolume(groupID uint, multiplier float64)
- func (sys *System) Update()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
func (*System) ContinueCurrentMusic ¶
func (sys *System) ContinueCurrentMusic()
func (*System) ContinueMusic ¶
func (*System) EnqueueSound ¶
func (*System) GetContext ¶
func (*System) PauseCurrentMusic ¶
func (sys *System) PauseCurrentMusic()
func (*System) PlaySoundWithVolume ¶
func (*System) ResetQueue ¶
func (sys *System) ResetQueue()
func (*System) SetGroupVolume ¶
Click to show internal directories.
Click to hide internal directories.