本文整理汇总了Python中direct.fsm.StateData.StateData.exit方法的典型用法代码示例。如果您正苦于以下问题:Python StateData.exit方法的具体用法?Python StateData.exit怎么用?Python StateData.exit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类direct.fsm.StateData.StateData
的用法示例。
在下文中一共展示了StateData.exit方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
StateData.exit(self)
if self._requestStatus.get('how', None) != 'doorOut':
base.transitions.noTransitions()
del self._requestStatus
self.fsm.request('off')
return
示例2: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
StateData.exit(self)
messenger.send('exitSafeZone')
for link in self.linkTunnels:
link.cleanup()
self.linkTunnels = []
示例3: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
StateData.exit(self)
if self.window:
self.window.delete()
self.newHealth = None
self.healCooldownDoneSfx = None
self.originalSupply = {}
return
示例4: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
if not self.entered:
return
self.entered = 0
base.setBackgroundColor(CIGlobals.DefaultBackgroundColor)
render.show()
self.book_img.destroy()
del self.book_img
self.book_close.play()
self.fsm.request('off')
StateData.exit(self)
示例5: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
self.currentAttack.cleanup()
StateData.exit(self)
示例6: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
self.fsm.request('off')
StateData.exit(self)
示例7: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
self.fsm.requestFinalState()
self.ignoreAll()
ModelPool.garbageCollect()
TexturePool.garbageCollect()
StateData.exit(self)
示例8: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
self.fsm.requestFinalState()
StateData.exit(self)
示例9: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
base.localAvatar.disableChatInput()
StateData.exit(self)
示例10: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
StateData.exit(self)
self.setAvatarsNone()
self.avChooseFSM.requestFinalState()
示例11: exit
# 需要导入模块: from direct.fsm.StateData import StateData [as 别名]
# 或者: from direct.fsm.StateData.StateData import exit [as 别名]
def exit(self):
if self.titleText:
self.titleText.cleanup()
self.titleText = None
StateData.exit(self)
return