Exemple #1
0
 public GameStats GetStats()
 {
     return(new GameStats
     {
         NumberInHat = Celebs.Count(c => c.State == CelebState.IN_HAT),
         NumberGuessed = Celebs.Count(c => c.State == CelebState.GUESSED),
         NumberBurned = Celebs.Count(c => c.State == CelebState.BURNED)
     });
 }