Beispiel #1
0
 public void Teleport(int frame, ASSPointF pos)
 {
     if (traces.Count > 0)
     {
         Add(frame - 1, traces.Last().Value);
     }
     Add(frame, pos);
 }
Beispiel #2
0
 public double GetDis(ASSPointF p2)
 {
     return(Common.GetDistance(X, Y, p2.X, p2.Y));
 }
Beispiel #3
0
 public void Teleport(double time, ASSPointF pos)
 {
     Teleport((int)((time - StartOffset) * FrameRate), pos);
 }
Beispiel #4
0
 public void Add(double time, ASSPointF pos)
 {
     Add((int)((time - StartOffset) * FrameRate), pos);
 }
Beispiel #5
0
 public void Add(int frame, ASSPointF pos)
 {
     traces.Add(new KeyValuePair <int, ASSPointF>(frame, pos));
 }
Beispiel #6
0
 public static string move(ASSPointF p1, ASSPointF p2)
 {
     return(move(p1.X, p1.Y, p2.X, p2.Y));
 }