当前位置: 首页>>代码示例>>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;未经允许,请勿转载。