Esempio n. 1
0
        public void Test_Set_Game_Statistics()
        {
            GameStatistics gameStatisticsA = A.GameStatistics.WithRounds(25).WithMoney(200).WithLives(40);
            GameStatistics gameStatisticsB = A.GameStatistics.WithRounds(50).WithMoney(650).WithLives(50);

            gameStatisticsA.SetGameStatistics(gameStatisticsB);

            gameStatisticsA.Rounds.Should().Be(gameStatisticsB.Rounds);
            gameStatisticsA.Money.Should().Be(gameStatisticsB.Money);
            gameStatisticsA.Lives.Should().Be(gameStatisticsB.Lives);
        }
Esempio n. 2
0
 private void InitializeStatistics()
 {
     _curGameStatistics.SetGameStatistics(_startingGameStatistics);
     _roundController.Initialize(_curGameStatistics);
 }
Esempio n. 3
0
 private void InitializeStatistics()
 {
     _currentGameStatistics.SetGameStatistics(_startingGameStatistics);
 }