package engine_entity_data_audio
import "kaiju/engine_entity_data/engine_entity_data_audio"
Constants
Types
MusicPlayer
struct
type MusicPlayer struct {
Clip *audio.AudioClip
Handle audio.VoiceHandle
// Has unexported fields.
}
MusicPlayer.Stop
func (p *MusicPlayer) Stop()
PlayMusicEntityData
struct
type PlayMusicEntityData struct {
MusicId content_id.Music
Loop bool
}
PlayMusicEntityData.Init
func (c PlayMusicEntityData) Init(e *engine.Entity, host *engine.Host)
PlaySoundEntityData
struct
type PlaySoundEntityData struct {
SoundId content_id.Sound
DelaySeconds float32
}
PlaySoundEntityData.Init
func (c PlaySoundEntityData) Init(e *engine.Entity, host *engine.Host)