public override SoundEffect GetRandomSound()
 {
     if (IsTrackable)
     {
         return(SoundEngine.GetTrackableSoundByStyleId(Style));
     }
     return(null);
 }
Exemple #2
0
 public override SoundEffect GetRandomSound()
 {
     return(this.IsTrackable ? SoundEngine.GetTrackableSoundByStyleId(this.Style) : (SoundEffect)null);
 }