Skip to main content

euv_core/game/audio/
enum.rs

1use super::*;
2
3/// Built-in and custom sound cue categories dispatched by `AudioBus`.
4#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
5pub enum SoundCue {
6    /// Weapon fire or laser pulse.
7    Laser,
8    /// Impact explosion or enemy destroyed.
9    Explosion,
10    /// Collectible pickup or score increment.
11    Pickup,
12    /// Elastic physics bounce or wall hit.
13    Bounce,
14    /// Player jump or dash impulse.
15    Dash,
16    /// UI interaction click inside game HUD.
17    UiClick,
18    /// Application-defined custom sound identifier.
19    Custom(u32),
20}