|
group2 0.1.0
CSE 125 Group 2
|
Client-side sound effects system. More...
#include "SfxTypes.hpp"#include "ecs/registry/Registry.hpp"#include "particles/ParticleEvents.hpp"#include <SDL3/SDL.h>#include <array>#include <cstdint>Go to the source code of this file.
Classes | |
| class | SfxSystem |
| Client-side sound effects system. More... | |
Client-side sound effects system.
Owns the SDL3 audio device and a pool of AudioStream voices. Follows the same init / update / quit lifecycle as ParticleSystem. Subscribes to entt::dispatcher events (WeaponFiredEvent, ExplosionEvent) and detects client-side state changes (health, death, kills) each update().