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