Esempio n. 1
0
 internal bool RemoveSoundEntity(SoundEntity sound)
 {
     if (sound.HasSound())
     {
         FreeSL.fslFreeSound(sound.SoundID, true);
     }
     return(_soundEntities.Remove(sound));
 }
Esempio n. 2
0
 internal bool RemoveAmbientSound(AmbientSound sound)
 {
     if (sound.HasSound())
     {
         FreeSL.fslFreeSound(sound.SoundID, true);
     }
     return(_ambientSounds.Remove(sound));
 }