当前位置: 首页>>代码示例>>Python>>正文


Python Briefing.terminate方法代码示例

本文整理汇总了Python中Briefing.terminate方法的典型用法代码示例。如果您正苦于以下问题:Python Briefing.terminate方法的具体用法?Python Briefing.terminate怎么用?Python Briefing.terminate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Briefing的用法示例。


在下文中一共展示了Briefing.terminate方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: loopbriefing

# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
 def loopbriefing(self):
     brief_you=self.adjsys.loopbriefing()
     if (brief_you != -1):
         VS.IOmessage(0,"cargo mission","briefing","Once there, you must drop the cargo off at a specified unit")
         if (self.briefgametime==0):
             self.briefgametime = VS.GetGameTime()
         elif ((VS.GetGameTime()-self.briefgametime)>5):
             Briefing.terminate()
开发者ID:bsmr-games,项目名称:Privateer-Gemini-Gold,代码行数:10,代码来源:cargo_mission.py

示例2: initbriefing

# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
 def initbriefing(self):
     self.jump_ani=0
     self.rnd_y=0.0
     self.added_warp=1
     self.brief_stage=0
     self.begintime= VS.GetGameTime()-6.0
     debug.info("starting briefing")
     if (self.you.isNull()):
         Briefing.terminate()
         return
     self.faction=self.you.getFactionName()
     name=self.you.getName()
     self.brief_you=Briefing.addShip(name,self.faction,(0.0,0.0,80.0))
     VS.IOmessage (0,"go_to_adjacent_system","briefing","You must go to the %s system. In order to get there, you must follow this route that we have planned out for you." % self.DestinationSystem())
开发者ID:ermo,项目名称:privateer_wcu,代码行数:16,代码来源:go_to_adjacent_systems.py

示例3: loopbriefing

# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
 def loopbriefing(self):
     debug.info("loop briefing")
     Briefing.terminate();
开发者ID:ermo,项目名称:privateer_wcu,代码行数:5,代码来源:defend_drone.py

示例4: loopbriefing

# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
 def loopbriefing(self):
     print "loop briefing"
     Briefing.terminate();
开发者ID:jowave,项目名称:Vegastrike-taose,代码行数:5,代码来源:escort_mission.py

示例5: loopbriefing

# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
 def loopbriefing(self):
     print("loop briefing")
     Briefing.terminate()
开发者ID:vegastrike,项目名称:Assets-Production,代码行数:5,代码来源:total_jump.py


注:本文中的Briefing.terminate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。