AudioSystem is a System that allows for sound effects and / or music
| 67 | |
| 68 | // AudioSystem is a System that allows for sound effects and / or music |
| 69 | type 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. |
| 78 | func (a *AudioSystem) New(w *ecs.World) { |
nothing calls this directly
no outgoing calls
no test coverage detected