Implement a few player pickups

This commit is contained in:
Alex Page 2022-02-03 01:16:41 -05:00
parent c138aeb228
commit 616a4d580a
5 changed files with 154 additions and 28 deletions

View file

@ -29,7 +29,7 @@ pub struct SoundEffect {
pub struct SoundEffects {
pub startup: SoundSamples,
pub step: SoundSamples,
pub pickup: SoundSamples,
pub grab: SoundSamples,
pub bad_key: SoundSamples,
pub blocked: SoundSamples,
pub whipping: SoundSamples,
@ -66,7 +66,7 @@ impl SoundEffects {
},
],
}),
pickup: sound_output.render_sound_effect(&SoundEffect {
grab: sound_output.render_sound_effect(&SoundEffect {
sounds: vec![
Sound {
sound_type: SoundType::Noise(350, 900),