1 # from direct.interval.MetaInterval import Sequence
2 # from direct.interval.FunctionInterval import Func, Wait
3 # from direct.interval.LerpInterval import LerpPosInterval
8 # def __init__(self, *ivals):
9 # self.seq = Sequence(*[ival._ival for ival in ivals])
10 # #TODO: don't access a protected member
12 # def start(self): return self.seq.start()
14 # def __add__(self, ival):
15 # self.seq.append(ival._ival) #TODO: don't access a protected member
21 # def __init__(self, time): self._ival = Wait(time)
26 # def __init__(self, node, time=1.0, pos=(0, 0, 0), blend_type='ease'):
27 # btype = {'ease': 'easeInOut'}[blend_type]
28 # self._ival = LerpPosInterval(node, time, pos=pos, blendType=btype)
33 # def __init__(self, fun, *args): self._ival = Func(fun, *args)