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()
Beispiel #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()
Beispiel #3
0
 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
Beispiel #4
0
 def __init__(self, parentObj):
     super(_GasAttackSafeZonePlugin, self).__init__(parentObj)
     self.__safeZoneMarkerHandle = None
     self.__isMarkerVisible = False
     self.__settings = getGasAttackSettings()
     return
Beispiel #5
0
 def __init__(self, parentObj):
     super(_GasAttackSafeZonePlugin, self).__init__(parentObj)
     self.__safeZoneMarkerHandle = None
     self.__isMarkerVisible = False
     self.__settings = getGasAttackSettings()
     return