Exemplo n.º 1
0
 public void Add(PlayerScore score)
 {
     scores.Add(score);
     Sort();
     Limit();
 }
Exemplo n.º 2
0
 // Constructor
 public Game(Player player, Difficulty difficulty = Difficulty.NORMAL, int numberOfChallenges = 10)
 {
     totalPlayerScore = new PlayerScore(player);
     this.difficulty  = difficulty;
     CreateChallenges(numberOfChallenges);
 }