Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public override void Execute()
 {
     _uiDataProvider.UpdateData(UiDataKeys.Player.Lives, _playerLifeDataManager.LifeCount);
 }
Exemplo n.º 3
0
 public override void Execute()
 {
     _uiDataProvider.UpdateData(UiDataKeys.Ball.Scale, _ballMovement.CurrentScale.ToString("N2"));
 }
Exemplo n.º 4
0
 public override void Execute()
 {
     _uiDataProvider.UpdateData(UiDataKeys.Time.Scale, _timeServiceController.CurrentTimeScale.ToString("N2"));
 }