void TriggerEvents(PlaybackSpeed givenSpeed) { if (givenSpeed == PlaybackSpeed.Slow) { OnSlow?.Invoke(); } else if (givenSpeed == PlaybackSpeed.Medium) { OnMedium?.Invoke(); } else if (givenSpeed == PlaybackSpeed.Fast) { OnFast?.Invoke(); } }
private void _OnFast() { OnFast?.Invoke(this, EventArgs.Empty); }