示例#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);
        }
示例#2
0
 public void CompleteRound()
 {
     OnRoundComplete?.Invoke(this, null);
 }
示例#3
0
 protected virtual void RoundComplete()
 {
     OnRoundComplete?.Invoke(this);
 }