Пример #1
0
 def __init__(self):
     super(SelectRespawnSoundPlayer, self).__init__()
     self.__isSpawnTimerWorking = False
     self.__isSpawnTimerStopped = False
     self.__mainTimerStopped = False
     self.__selectEndingSoonTime = getBattleRoyaleSettings(
     ).spawn.selectEndingSoonTime
 def __init__(self, viewRef):
     super(_AttentionEffectPlayer, self).__init__()
     self.__viewRef = viewRef
     self.__callbackID = None
     self.__delayTime = getBattleRoyaleSettings().upgradeAttentionTime
     self.__isPlaying = False
     return
Пример #3
0
 def __init__(self):
     super(PhaseSoundPlayer, self).__init__()
     self.__averageLevel = None
     self.__enemyTeamsCount = None
     self.__currentState = None
     brSettings = getBattleRoyaleSettings().sounds
     self.__finalPhaseEnemiesCount = brSettings.finalEnemiesCount
     self.__middlePhaseAverageLevel = brSettings.middleAverageLevel
     self.__updatePhase()
     return
 def __init__(self, parent):
     super(BattleRoyaleRadarPlugin, self).__init__(parent)
     radarSettings = getBattleRoyaleSettings().radar.marker
     self._params = RadarPluginParams(
         fadeIn=radarSettings.fadeIn,
         fadeOut=radarSettings.fadeOut,
         lifetime=radarSettings.lifeTime,
         vehicleEntryParams=RadarEntryParams(
             container=_C_NAME.ALIVE_VEHICLES,
             symbol=_S_NAME.DISCOVERED_ITEM_MARKER),
         lootEntryParams=RadarEntryParams(
             container=_C_NAME.EQUIPMENTS,
             symbol=_S_NAME.DISCOVERED_ITEM_MARKER))
     self.__timeParamsForAS = _TimeParamsForAs(
         fadeIn=self.__sToMs(self._params.fadeIn),
         fadeOut=self.__sToMs(self._params.fadeOut),
         lifetime=self.__sToMs(self._params.lifetime - self._params.fadeIn -
                               self._params.fadeOut))
     self.__radarRadius = 0
     self.__radarAnimationEntry = None
     self.__isColorBlind = False
     self.__isMinimapSmall = None
     self.__visibilitySystemSpottedVehicles = set()
     return
 def __init__(self, parentView):
     self.__timeLeft = 0
     self._parentView = parentView
     self.__endingTime = getBattleRoyaleSettings(
     ).spawn.selectEndingSoonTime