本文整理匯總了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