Example #1
0
 public SoundFileEventArgs(T file, SoundBankEvent sourceEvent)
 {
     File        = file;
     SourceEvent = sourceEvent;
 }
Example #2
0
 /// <summary>
 /// Scans a SoundBankEvent for sound files.
 /// </summary>
 /// <param name="bank">The SoundBank that the event belongs to.</param>
 /// <param name="ev">The SoundBankEvent to scan.</param>
 public void ScanEvent(SoundBank bank, SoundBankEvent ev)
 {
     _currentBank = bank;
     Visit(ev);
 }
Example #3
0
 public void Visit(SoundBankEvent ev)
 {
     // Scan each action in the event
     _currentEvent = ev;
     DispatchAll(ev.ActionIDs);
 }