本文整理汇总了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()
示例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())
示例3: loopbriefing
# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
def loopbriefing(self):
debug.info("loop briefing")
Briefing.terminate();
示例4: loopbriefing
# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
def loopbriefing(self):
print "loop briefing"
Briefing.terminate();
示例5: loopbriefing
# 需要导入模块: import Briefing [as 别名]
# 或者: from Briefing import terminate [as 别名]
def loopbriefing(self):
print("loop briefing")
Briefing.terminate()