Example #1
0
 private void PlayQueued(AudioDeviceMgr mgr, IPlayItem playItem)
 {
     if (GameRunning)
     {
         mgr.PlayQueued(playItem);
         OnPlayRequest?.Invoke();
     }
 }
Example #2
0
 public RoomAudioManager(AudioDeviceMgr creoMgr,
                         AudioDeviceMgr mainMgr,
                         AudioDeviceMgr cpuMgr)
 {
     _creoAudio = creoMgr;
     _mainAudio = mainMgr;
     _cpuAudio  = cpuMgr;
 }