Пример #1
0
 public void Add(PlayerScore score)
 {
     scores.Add(score);
     Sort();
     Limit();
 }
Пример #2
0
 // Constructor
 public Game(Player player, Difficulty difficulty = Difficulty.NORMAL, int numberOfChallenges = 10)
 {
     totalPlayerScore = new PlayerScore(player);
     this.difficulty  = difficulty;
     CreateChallenges(numberOfChallenges);
 }