Example #1
0
 public void PlayGameFail()
 {
     _mainAudio.PlayNow(_gameFailRecord);
     _creoAudio.PlayNow(_gameFailRecord);
     _cpuAudio.PlayNow(_gameFailRecord);
     OnPlayRequest?.Invoke();
 }
Example #2
0
 private void PlayQueued(AudioDeviceMgr mgr, IPlayItem playItem)
 {
     if (GameRunning)
     {
         mgr.PlayQueued(playItem);
         OnPlayRequest?.Invoke();
     }
 }
Example #3
0
 public void PlayCreoDoorOpen()
 {
     PlayQueued(_creoAudio, _creoDoorRecord);
     OnPlayRequest?.Invoke();
 }
Example #4
0
 public void D_PlayAirAlert()
 {
     PlayQueued(_mainAudio, _dAlertAir);
     OnPlayRequest?.Invoke();
 }
Example #5
0
 public void PlaySuccessMusic()
 {
     _mainAudio.PlayNow(_gameSuccessRecord);
     _creoAudio.PlayNow(_gameSuccessRecord);
     OnPlayRequest?.Invoke();
 }