public override void Execute() { var currentScore = _scoreDataManager.CurrentScore; _uiDataProvider.UpdateData(UiDataKeys.Player.HighScore, _scoreDataManager.HighestScore); _uiDataProvider.UpdateData(UiDataKeys.Player.RunScore, currentScore.TotalScore); if (currentScore.TotalScore <= 0) { return; } _audioServiceController.PlayAudioForPriority(Priority.Low); }
public override void Execute() { _uiDataProvider.UpdateData(UiDataKeys.Player.Lives, _playerLifeDataManager.LifeCount); }
public override void Execute() { _uiDataProvider.UpdateData(UiDataKeys.Ball.Scale, _ballMovement.CurrentScale.ToString("N2")); }
public override void Execute() { _uiDataProvider.UpdateData(UiDataKeys.Time.Scale, _timeServiceController.CurrentTimeScale.ToString("N2")); }