當前位置: 首頁>>代碼示例>>Python>>正文


Python StateData.exit方法代碼示例

本文整理匯總了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
開發者ID:coginvasion,項目名稱:src,代碼行數:9,代碼來源:QuietZoneState.py

示例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 = []
開發者ID:coginvasion,項目名稱:src,代碼行數:9,代碼來源:SafeZoneLoader.py

示例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
開發者ID:coginvasion,項目名稱:src,代碼行數:10,代碼來源:Shop.py

示例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)
開發者ID:coginvasion,項目名稱:src,代碼行數:13,代碼來源:ShtickerBook.py

示例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)
開發者ID:coginvasion,項目名稱:src,代碼行數:5,代碼來源:SuitAttacks.py

示例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)
開發者ID:coginvasion,項目名稱:src,代碼行數:5,代碼來源:OptionPage.py

示例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)
開發者ID:coginvasion,項目名稱:src,代碼行數:8,代碼來源:TownLoader.py

示例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)
開發者ID:coginvasion,項目名稱:src,代碼行數:5,代碼來源:AdminPage.py

示例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)
開發者ID:coginvasion,項目名稱:src,代碼行數:5,代碼來源:Place.py

示例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()
開發者ID:coginvasion,項目名稱:src,代碼行數:6,代碼來源:AvChooser.py

示例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
開發者ID:coginvasion,項目名稱:src,代碼行數:8,代碼來源:Hood.py


注:本文中的direct.fsm.StateData.StateData.exit方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。