private void _boss_OnPhaseChanged(Zulrah.Rotation rotation) { _mainMapRenderEngine.ShowPhase(rotation.CurrentPhase); if (PhaseDisplayOn) { HidePhaseDialog(); } }
private void BossPhaseChanged(Zulrah.Rotation rotation) { _srEngine.Grammars[_srEngine.Grammars.IndexOf(_styleChoices)].Enabled = false; _srEngine.Grammars[_srEngine.Grammars.IndexOf(_positionChoices)].Enabled = false; _srEngine.Grammars[_srEngine.Grammars.IndexOf(_nextChoice)].Enabled = true; _speechSynthesizer.SpeakAsync(rotation.CurrentPhase.GetNotes()); if (rotation.PlayerLocationMoved) { _speechSynthesizer.SpeakAsync("Player Location Moved"); } if (rotation.CurrentPhase.JadStyle.HasValue) { _speechSynthesizer.SpeakAsync($"Jad Phase {rotation.CurrentPhase.JadStyle} "); } }