本文整理汇总了Python中Interval.Interval.privInitialize方法的典型用法代码示例。如果您正苦于以下问题:Python Interval.privInitialize方法的具体用法?Python Interval.privInitialize怎么用?Python Interval.privInitialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Interval.Interval
的用法示例。
在下文中一共展示了Interval.privInitialize方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: privInitialize
# 需要导入模块: from Interval import Interval [as 别名]
# 或者: from Interval.Interval import privInitialize [as 别名]
def privInitialize(self, t):
self.__initialize()
if self.collNode:
self.collNode.clearSolids()
csolid = CollisionParabola(self.parabola, 0, 0)
self.collNode.addSolid(csolid)
Interval.privInitialize(self, t)
示例2: privInitialize
# 需要导入模块: from Interval import Interval [as 别名]
# 或者: from Interval.Interval import privInitialize [as 别名]
def privInitialize(self, t):
if self.state != CInterval.SPaused:
self.__softStart()
if self.particleEffect:
self.particleEffect.clearToInitial()
self.currT = 0
if self.particleEffect:
for forceGroup in self.particleEffect.getForceGroupList():
forceGroup.enable()
Interval.privInitialize(self, t)
示例3: privInitialize
# 需要导入模块: from Interval import Interval [as 别名]
# 或者: from Interval.Interval import privInitialize [as 别名]
def privInitialize(self, t):
if self.state != CInterval.SPaused:
# Restarting from a hard stop or just interrupting the
# current play
self.__softStart()
if self.particleEffect:
self.particleEffect.clearToInitial()
self.currT = 0
if self.particleEffect:
for forceGroup in self.particleEffect.getForceGroupList():
forceGroup.enable()
Interval.privInitialize(self,t)
示例4: privInitialize
# 需要导入模块: from Interval import Interval [as 别名]
# 或者: from Interval.Interval import privInitialize [as 别名]
def privInitialize(self, t):
self.__initialize()
Interval.privInitialize(self, t)
示例5: privInitialize
# 需要导入模块: from Interval import Interval [as 别名]
# 或者: from Interval.Interval import privInitialize [as 别名]
def privInitialize(self, t):
self._ProjectileInterval__initialize()
Interval.privInitialize(self, t)