INNER CODE UNIT · Rust
music_playing
CleanCut/rusty_engine · src/audio.rs:124
pub fn music_playing(&self) -> bool {
self.music_playing
}
}
#[derive(Copy, Clone, Debug)]
/// Sound effects included with the downloadable asset pack. You can hear these all played in the
/// `sfx` example by cloning the `rusty_engine` repository and running the following command:
///
/// ```text
/// cargo run --release --example sfx_sampler
/// ```
pub enum SfxPreset {
Click,
Confirmation1,
Confirmation2,
Congratulations,
Forcefield1,