def __init__(self, mapping=None):
     super(DestroyTimersPanel, self).__init__()
     self.as_turnOnStackViewS(self.lobbyContext.getServerSettings().spgRedesignFeatures.isStunEnabled())
     if mapping is not None:
         self._mapping = mapping
     else:
         self._mapping = _mapping.FrontendMapping()
     self._timers = _createTimersCollection(self)
     self.__sound = None
     return
Exemplo n.º 2
0
 def __init__(self, mapping=None):
     super(DestroyTimersPanel, self).__init__()
     if not (mapping is not None
             and isinstance(mapping, _mapping.FrontendMapping)):
         raise AssertionError
         self.__mapping = mapping
     else:
         self.__mapping = _mapping.FrontendMapping()
     self.__timers = _createTimersCollection(self)
     self.__sound = None
     return
 def __init__(self):
     deathZonesCodes = _mapping.getDefaultDeathZonesCodes()
     deathZonesCodes[
         DEATH_ZONES.GAS_ATTACK] = BATTLE_DESTROY_TIMER_STATES.GAS_ATTACK
     deathZonesSoundIDs = {
         (DEATH_ZONES.GAS_ATTACK, 'warning'): 'fallout_gaz_sphere_warning',
         (DEATH_ZONES.GAS_ATTACK, 'critical'): 'fallout_gaz_sphere_timer'
     }
     super(FalloutDestroyTimersPanel,
           self).__init__(mapping=_mapping.FrontendMapping(
               deathZonesCodes=deathZonesCodes,
               deathZonesSoundIDs=deathZonesSoundIDs))
Exemplo n.º 4
0
 def __init__(self, mapping=None):
     super(TimersPanel, self).__init__()
     self.as_turnOnStackViewS(self.lobbyContext.getServerSettings().
                              spgRedesignFeatures.isStunEnabled())
     if mapping is not None:
         self._mapping = mapping
     else:
         self._mapping = _mapping.FrontendMapping()
     self._timers = _createTimersCollection(self)
     self.__sound = None
     self.__vehicleID = None
     self.__viewID = CROSSHAIR_VIEW_ID.UNDEFINED
     self.__equipmentCtrl = None
     return
Exemplo n.º 5
0
 def __init__(self):
     deathZonesCodes = _mapping.getDefaultDeathZonesCodes()
     deathZonesCodes[
         DEATH_ZONES.
         SECTOR_AIRSTRIKE] = BATTLE_NOTIFICATIONS_TIMER_TYPES.SECTOR_AIRSTRIKE
     deathZonesSoundIDs = {}
     super(EpicDestroyTimersPanel,
           self).__init__(mapping=_mapping.FrontendMapping(
               deathZonesCodes=deathZonesCodes,
               deathZonesSoundIDs=deathZonesSoundIDs))
     self.__underFireCount = 0
     self.__delayedCB = None
     self.__inCircleIdx = -1
     self.__inCircleType = -1
     return