Exemplo n.º 1
0
 /// <summary>
 ///     Calculates the keys per second every frame.
 /// </summary>
 private void CalculateKeysPerSecond()
 {
     for (var i = 0; i < Clicks.Count; i++)
     {
         if (Clicks[i] <= Time - 1000)
         {
             Clicks.RemoveAt(i);
         }
     }
 }