Exemple #1
0
 public void AddAnimation(double x, double y, double angle, double duration, double latency = 0, bool permanent = false)
 {
     AddMovingAnimation(x, y, duration, latency);
     AddRotatingAnimation(angle, duration, latency);
     AddFramingAnimation(duration, 0, latency);
     if (permanent)
     {
         movingAnimations.MakeFirstAnimationPermanent();
         rotatingAnimations.MakeFirstAnimationPermanent();
         framingAnimations.MakeFirstAnimationPermanent();
     }
 }