Exemple #1
0
 public void Merge(MouseActData additionLog)
 {
     LastPoint = additionLog.LastPoint;
     Delta    += additionLog.Delta;
     Path     += additionLog.Path;
     foreach (MouseButtons mb in additionLog.Clicks.Keys)
     {
         if (!Clicks.ContainsKey(mb))
         {
             Clicks.Add(mb, 0);
         }
         Clicks[mb] += additionLog.Clicks[mb];
     }
 }