group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
SfxSystem.hpp File Reference

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>
Include dependency graph for SfxSystem.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SfxSystem
 Client-side sound effects system. More...
 

Detailed Description

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().