public SoundInstance Play(SoundType sound, bool loop = false) { var list = this.soundDictionary[sound]; int id = this.random.NextInt() % list.Length; var soundInfo = list[id]; return this.soundPlayer.Play(soundInfo, 0, loop); }