def afterThis(self, other): ''' @param other: Animation ''' self.__anim_queue.append(other) Animation.chain([self,other]) return other
def __init__(self, func, curve, duration): self.curve = curve self.func = func Animation.__init__(self, self.eachFrame, (duration, 0, len(curve) - 1))
def __init__(self,func,curve,duration): self.curve = curve self.func = func Animation.__init__(self,self.eachFrame,(duration,0,len(curve)-1))