 }
 
 class AnimatorObject:Equatable {
-
+    
     var randomId:UInt32
     var progress:Float
     var duration:Float

        
        self.progress += add
        
        if self.progress > self.duration {
            self.updateBlock(progress: 1.0)
            self.completed = true
            self.completeBlock(completed: self.completed)
        
        } else if self.progress > 0 {
            self.updateBlock(progress: self.interpolator.valueForProgress(self.progress/self.duration))
        }
    }
    


    func interpolator(block:((progress:Float) -> Float)) -> AnimatorObject{
        self.interpolator = AnimatorInterpolator(block: block)
        return self

                NSLog("did remove")
            }
        }
        
    }
    
}
