def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.__protectionZones = {}
     self.__isPlayerInZone = {}
     self.onProtectionZoneAdded = Event.Event(self._eventManager)
     self.onProtectionZoneActive = Event.Event(self._eventManager)
     self.onPlayerInProtectedZoneAction = Event.Event(self._eventManager)
Beispiel #2
0
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     CallbackDelayer.__init__(self)
     self.__smokeScreen = dict()
     self.__healingEffect = None
     self.__inspiringEffect = None
     self.__repairPointEffect = None
     return
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.__stepRepairPoints = []
     self.__repairPointPlayerAction = {}
     self.onStepRepairPointAdded = Event.Event(self._eventManager)
     self.onStepRepairPointActiveStateChanged = Event.Event(
         self._eventManager)
     self.onStepRepairPointPlayerAction = Event.Event(self._eventManager)
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.addSyncDataCallback(ARENA_SYNC_OBJECTS.SMOKE, '',
                              self.__onSmokeScreenUpdated)
     self.onSmokeScreenStarted = Event.Event(self._eventManager)
     self.onSmokeScreenEnded = Event.Event(self._eventManager)
     self.__smokeScreen = dict()
     self.__inspiredData = dict()
     self.__inspiringData = dict()
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.__destructibleEntities = {}
     self.onDestructibleEntityAdded = Event.Event(self._eventManager)
     self.onDestructibleEntityRemoved = Event.Event(self._eventManager)
     self.onDestructibleEntityHealthChanged = Event.Event(self._eventManager)
     self.onDestructibleEntityIsActiveChanged = Event.Event(self._eventManager)
     self.onDestructibleEntityStateChanged = Event.Event(self._eventManager)
     self.onDestructibleEntityFeedbackReceived = Event.Event(self._eventManager)
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.onSmokeScreenStarted = Event.Event(self._eventManager)
     self.onSmokeScreenEnded = Event.Event(self._eventManager)
     self.__smokeScreen = dict()
     self.__healingEffect = None
     self.__inspiringEffect = None
     self.__repairPointEffect = None
     return
Beispiel #7
0
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     CallbackDelayer.__init__(self)
     self.__duration = None
     self.__endTime = None
     self.__isActive = False
     self.__cbId = None
     self.onOvertimeStart = Event.Event(self._eventManager)
     self.onOvertimeOver = Event.Event(self._eventManager)
     return
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.__sectorBases = []
     self.__sectorBasePlayerAction = {}
     self.__baseReinforcementLvl = None
     self.onSectorBaseAdded = Event.Event(self._eventManager)
     self.onSectorBaseCaptured = Event.Event(self._eventManager)
     self.onSectorBasePointsUpdate = Event.Event(self._eventManager)
     self.onSectorBaseActiveStateChanged = Event.Event(self._eventManager)
     self.onSectorBasePlayerAction = Event.Event(self._eventManager)
     return
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     CallbackDelayer.__init__(self)
     self.addSyncDataCallback(ARENA_SYNC_OBJECTS.OVERTIME, 'duration', self.__onDurationUpdated)
     self.addSyncDataCallback(ARENA_SYNC_OBJECTS.OVERTIME, 'endTime', self.__onEndTimeUpdated)
     self.__duration = None
     self.__endTime = None
     self.__isActive = False
     self.__cbId = None
     self.onOvertimeStart = Event.Event(self._eventManager)
     self.onOvertimeOver = Event.Event(self._eventManager)
     return
 def __init__(self, componentSystem):
     ClientArenaComponent.__init__(self, componentSystem)
     self.__sectors = []
     self.__sectorGroups = {}
     self.__playerGroups = {}
     self.__currentPlayerSectorGroupID = None
     self.__currentWayPointSector = None
     self.__currentPlayerSectorID = None
     self.__wayPointRepetitionRules = {EPIC_BATTLE_TEAM_ID.TEAM_ATTACKER: (4, 2),
      EPIC_BATTLE_TEAM_ID.TEAM_DEFENDER: (4, 2)}
     self.onSectorAdded = Event.Event(self._eventManager)
     self.onSectorTransitionTimeChanged = Event.Event(self._eventManager)
     self.onSectorGroupUpdated = Event.Event(self._eventManager)
     self.onSectorGroupTransitionTimeChanged = Event.Event(self._eventManager)
     self.onPlayerSectorGroupChanged = Event.Event(self._eventManager)
     self.onWaypointsForPlayerActivated = Event.Event(self._eventManager)
     self.onWaypointsRepetitionRulesChanged = Event.Event(self._eventManager)
     return
 def destroy(self):
     ClientArenaComponent.destroy(self)
     self.__sectors = []
     self.__sectorGroups.clear()
     self.__playerGroups.clear()
 def destroy(self):
     ClientArenaComponent.destroy(self)
     self.__destructibleEntities = {}
 def destroy(self):
     ClientArenaComponent.destroy(self)
     self.__stepRepairPoints = []
     self.__repairPointPlayerAction.clear()
Beispiel #14
0
 def destroy(self):
     ClientArenaComponent.destroy(self)
     CallbackDelayer.destroy(self)
 def destroy(self):
     ClientArenaComponent.destroy(self)
     self.__sectorBases = []
     self.__sectorBasePlayerAction.clear()
 def destroy(self):
     ClientArenaComponent.destroy(self)
     CallbackDelayer.destroy(self)
     self.removeSyncDataCallback(ARENA_SYNC_OBJECTS.OVERTIME, 'duration', self.__onDurationUpdated)
     self.removeSyncDataCallback(ARENA_SYNC_OBJECTS.OVERTIME, 'endTime', self.__onEndTimeUpdated)