Statistics.cs 567 B

123456789101112131415161718192021222324252627
  1. using System.Collections.Generic;
  2. namespace YJMPD_UWP.Model.Object
  3. {
  4. public class Statistics
  5. {
  6. public Statistics()
  7. {
  8. Points = new List<double>();
  9. Distance = 0;
  10. Matches = 0;
  11. Selected = 0;
  12. }
  13. public List<double> Points { get; set; }
  14. public double Distance { get; set; }
  15. public int Matches { get; set; }
  16. public int Selected { get; set; }
  17. public void AddPoints(double points)
  18. {
  19. Points.Add(points);
  20. }
  21. }
  22. }