コード例 #1
0
ファイル: animation2.py プロジェクト: jonntd/superficie
 def afterThis(self, other):
     '''
     @param other: Animation
     '''
     self.__anim_queue.append(other)
     Animation.chain([self,other])
     return other
コード例 #2
0
 def __init__(self, func, curve, duration):
     self.curve = curve
     self.func = func
     Animation.__init__(self, self.eachFrame, (duration, 0, len(curve) - 1))
コード例 #3
0
ファイル: curve.py プロジェクト: jonntd/superficie
 def __init__(self,func,curve,duration):
     self.curve = curve
     self.func = func
     Animation.__init__(self,self.eachFrame,(duration,0,len(curve)-1))