private void LoadSounds()
{
this.soundDictionary = new Dictionary<SoundType, SoundInfo[]>();
this.soundDictionary[SoundType.Engines_1] = new SoundInfo[] { new SoundInfo(WaveContent.Assets.Sounds.engines_1_wav) };
this.soundDictionary[SoundType.Engines_2] = new SoundInfo[] { new SoundInfo(WaveContent.Assets.Sounds.engines_2_wav) };
this.soundDictionary[SoundType.Explosion] = new SoundInfo[] { new SoundInfo(WaveContent.Assets.Sounds.explosion_wav) };
this.soundDictionary[SoundType.Shoot] = new SoundInfo[]
{
new SoundInfo(WaveContent.Assets.Sounds.shoot_1_wav),
new SoundInfo(WaveContent.Assets.Sounds.shoot_2_wav),
new SoundInfo(WaveContent.Assets.Sounds.shoot_3_wav)
};
foreach (var entry in this.soundDictionary)
{
foreach (var soundInfo in entry.Value)
{
this.bank.Add(soundInfo);
}
}
}