Documentation ¶
Index ¶
Constants ¶
View Source
const (
SoundDirectoryBase = "sound"
)
Variables ¶
This section is empty.
Functions ¶
func InitSoundGeneratedData ¶
func InitSoundGeneratedData(indexToName []string, nameToIndex map[string]SoundIndex)
InitSoundGeneratedData is used by code generated by gmlgo so you can query a sound by index or name
Types ¶
type SoundIndex ¶
type SoundIndex int32
func (SoundIndex) IsPlaying ¶
func (index SoundIndex) IsPlaying() bool
IsPlaying will check if a sound is playing
func (SoundIndex) SetVolume ¶
func (index SoundIndex) SetVolume(volume float64)
Click to show internal directories.
Click to hide internal directories.