WaveFrogger.Services.AudioService.LoadAllSounds C# (CSharp) Method

LoadAllSounds() public method

Loads all sounds.
public LoadAllSounds ( ) : void
return void
        public void LoadAllSounds()
        {
            // Search all sounds and music
            this.audioPaths = new Dictionary<string, string>();
            this.SearchMusicAndSounds(typeof(WaveContent));

            //Load all Sounds
            foreach (var item in Enum.GetValues(typeof(Audio.Sfx)))
            {
                this.Load((Audio.Sfx)item, ref this.sounds);
            }
        }