Esempio n. 1
0
        private void nextRound()
        {
            if (this.round == null)
            {
                roundNumber = 1;
            }
            else
            {
                roundNumber++;
            }

            this.sound = SoundProvider.Round(roundNumber);
            this.sound.Play();
            round = getRandomRound();
            scoringSystem.CreateNewRound();
            this.gameState            = GameState.RoundBegin;
            this.currentTimerTask     = TimeSpan.FromSeconds(6);
            this.currentTimeTaskStart = DateTime.Now;
        }