コード例 #1
0
 def start(self, battleUI):
     self.__battleUI = battleUI
     self.__falloutItems = battleUI.movie.falloutItems
     self.__settings = arena_info.getGasAttackSettings()
     self.__gasAttackMgr.onAttackPreparing += self.__onAttackPreparing
     self.__gasAttackMgr.onAttackStarted += self.__onAttackStarted
     self.__gasAttackMgr.onAttackStopped += self.__onAttackStopped
     self.updateState()
     self.__startTimer()
コード例 #2
0
 def start(self, battleUI):
     self.__battleUI = battleUI
     self.__falloutItems = battleUI.movie.falloutItems
     self.__settings = arena_info.getGasAttackSettings()
     self.__gasAttackMgr.onAttackPreparing += self.__onAttackPreparing
     self.__gasAttackMgr.onAttackStarted += self.__onAttackStarted
     self.__gasAttackMgr.onAttackStopped += self.__onAttackStopped
     self.updateState()
     self.__startTimer()
コード例 #3
0
ファイル: markers.py プロジェクト: webiumsk/WOT-0.9.14-CT
 def __init__(self, parentObj):
     super(_GasAttackSafeZonePlugin, self).__init__(parentObj)
     self.__safeZoneMarkerHandle = None
     self.__isMarkerVisible = False
     self.__settings = getGasAttackSettings()
     if self.__settings is None:
         from GasAttackSettings import GasAttackSettings
         self.__settings = GasAttackSettings(180, 10.0, (27.0147, 116.592636, -176.879059), 600.0, 500.0, 120.0)
     return
コード例 #4
0
ファイル: markers.py プロジェクト: webiumsk/WOT-0.9.15-CT
 def __init__(self, parentObj):
     super(_GasAttackSafeZonePlugin, self).__init__(parentObj)
     self.__safeZoneMarkerHandle = None
     self.__isMarkerVisible = False
     self.__settings = getGasAttackSettings()
     return
コード例 #5
0
ファイル: battlemarkers.py プロジェクト: Difrex/wotsdk
 def __init__(self, parentObj):
     super(_GasAttackSafeZonePlugin, self).__init__(parentObj)
     self.__safeZoneMarkerHandle = None
     self.__isMarkerVisible = False
     self.__settings = getGasAttackSettings()
     return