MCPcopy
hub / github.com/EngoEngine/engo / AudioSystem

Struct AudioSystem

common/audio.go:69–75  ·  view source on GitHub ↗

AudioSystem is a System that allows for sound effects and / or music

Source from the content-addressed store, hash-verified

67
68// AudioSystem is a System that allows for sound effects and / or music
69type AudioSystem struct {
70 entities []audioEntity
71
72 bufsize int
73 pauseCh, restartCh chan struct{}
74 playerCh chan []*Player
75}
76
77// New is called when the AudioSystem is added to the world.
78func (a *AudioSystem) New(w *ecs.World) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected