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