commit 246d021cd546de539655c7bcdaa0197ce6e5d6b2
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Mon Jul 20 18:11:09 2020 +0100

    1) rename DistortedTexture's setColor to setColorARGB
    2) fix the Wiind app to take into account paused time
    3) fix the Dynamic so that if a single Dynamic is used more than once (in more than one effect) than it doesn't get adjusted for paused time multiple times.

diff --git a/src/main/java/org/distorted/library/main/DistortedTexture.java b/src/main/java/org/distorted/library/main/DistortedTexture.java
index cc5e62d..fb69579 100644
--- a/src/main/java/org/distorted/library/main/DistortedTexture.java
+++ b/src/main/java/org/distorted/library/main/DistortedTexture.java
@@ -148,7 +148,7 @@ public class DistortedTexture extends InternalSurface
  *
  * @param argb The color to paint the Texture with.
  */
-  public void setColor(int argb)
+  public void setColorARGB(int argb)
     {
     Paint paint = new Paint();
     paint.setColor(argb);
diff --git a/src/main/java/org/distorted/library/type/Dynamic.java b/src/main/java/org/distorted/library/type/Dynamic.java
index ea3480c..e72f274 100644
--- a/src/main/java/org/distorted/library/type/Dynamic.java
+++ b/src/main/java/org/distorted/library/type/Dynamic.java
@@ -158,6 +158,7 @@ public abstract class Dynamic
   private static final int NUM_NOISE = 5; // used iff mNoise>0.0. Number of intermediary points between each pair of adjacent vectors
                                           // where we randomize noise factors to make the way between the two vectors not so smooth.
   private long mStartTime;
+  private long mCorrectedTime;
   private static long mPausedTime;
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -185,6 +186,7 @@ public abstract class Dynamic
     mAccessType= ACCESS_TYPE_RANDOM;
     mConvexity = 1.0f;
     mStartTime = 0;
+    mCorrectedTime = 0;
 
     baseV      = new float[mDimension][mDimension];
     buf        = new float[mDimension];
@@ -693,8 +695,9 @@ public abstract class Dynamic
 
     long diff = time-mPausedTime;
 
-    if( mStartTime<mPausedTime && diff>=0 && diff<=step )
+    if( mStartTime<mPausedTime && mCorrectedTime<mPausedTime && diff>=0 && diff<=step )
       {
+      mCorrectedTime = mPausedTime;
       mStartTime += diff;
       step -= diff;
       }
