pub fn play(&mut self, sound: &str) {
        if let Some(plays) = self.map.get_mut(sound) {
            plays.play();
        } else {
            println!("File: {} not found in SoundMap", sound);
        }
    }
/// plays a Sound, if in SoundMap. Else prints sound which was not found
plays a Sound, if in SoundMap. Else prints sound which was not found
plays a Sound if in SoundMap . Else prints sound which was not found
pub fn play(&mut self, sound: &str) {
        if let Some(plays) = self.map.get_mut(sound) {
            plays.play();
        } else {
            println!("File: {} not found in SoundMap", sound);
        }
    }
pub fn play ( & mut self , sound : & str ) { if let Some ( plays ) = self . map . get_mut ( sound ) { plays . play ( ) ; } else { println ! ( " " sound ) ; } }
plays a Sound, if in SoundMap.
plays a Sound if in SoundMap .
&mut self
sound
&str
&mut self
sound
&str