Exemple #1
0
        private void QueueNextRound()
        {
            _curGameStatistics.Rounds++;
            if (_curGameStatistics.Rounds > _rounds.Count)
            {
                _gameController.BeginVictory();
                return;
            }
            if (_curGameStatistics.Rounds != 1)
            {
                OnRoundComplete?.Invoke(_curRound);
            }

            _curRound   = _rounds[CurRoundIndex];
            _bloonsLeft = _curRound.TotalBloonCount;
            OnQueueNextRound?.Invoke(_curRound);
        }
 public void CompleteRound()
 {
     OnRoundComplete?.Invoke(this, null);
 }
Exemple #3
0
 protected virtual void RoundComplete()
 {
     OnRoundComplete?.Invoke(this);
 }