Example #1
0
 def __init__(self):
     super(BattleSessionProvider, self).__init__()
     self.__ctx = BattleContext()
     self.__sharedRepo = controllers.SharedControllersLocator()
     self.__dynamicRepo = controllers.DynamicControllersLocator()
     self.__requestsCtrl = None
     self.__arenaDP = None
     self.__arenaVisitor = arena_visitor.createSkeleton()
     self.__arenaListeners = None
     self.__viewComponentsBridge = None
     self.__invitations = None
     self.__isReplayPlaying = False
     return
Example #2
0
 def __init__(self):
     super(BattleSessionProvider, self).__init__()
     self.__ctx = BattleContext()
     self.__sharedRepo = controllers.SharedControllersLocator()
     self.__dynamicRepo = controllers.DynamicControllersLocator()
     self.__requestsCtrl = None
     self.__arenaDP = None
     self.__arenaVisitor = arena_visitor.createSkeleton()
     self.__arenaListeners = None
     self.__viewComponentsBridge = None
     self.__invitations = None
     self.__isReplayPlaying = False
     self.__battleCache = BattleClientCache()
     self.onBattleSessionStart = Event.Event()
     self.onBattleSessionStop = Event.Event()
     self.onUpdateObservedVehicleData = Event.Event()
     return