Exemple #1
0
 private void SaveMetric(GameMetrics currentMetric)
 {
     for (int i = 0; i < metrics.Count; i++)
     {
         if(metrics[i].GetGameId() == currentMetric.GetIndex())
         {
             metrics[i].GetMetrics()[currentMetric.GetLevel()].Add(currentMetric);
             break;
         }
     }
 }