示例#1
0
 def stop(self):
     g_sessionProvider.getRespawnsCtrl().stop()
     if self.__respawnView is not None:
         self.__respawnView.destroy()
         self.__respawnView = None
     super(RespawnViewPlugin, self).stop()
     return
示例#2
0
 def __onLoad(self, _):
     self.__respawnView = _BattleRespawnView(self._parentObj)
     g_sessionProvider.getRespawnsCtrl().start(self.__respawnView, self._parentObj)
示例#3
0
 def py_vehicleSelected(self, vehicleID):
     g_sessionProvider.getRespawnsCtrl().chooseVehicleForRespawn(vehicleID)
示例#4
0
 def py_vehicleSelected(self, vehicleID):
     g_sessionProvider.getRespawnsCtrl().chooseVehicleForRespawn(vehicleID)
示例#5
0
 def __onLoad(self, _):
     self.__respawnView = _BattleRespawnView(self._parentObj)
     g_sessionProvider.getRespawnsCtrl().start(self.__respawnView,
                                               self._parentObj)
示例#6
0
 def stop(self):
     g_sessionProvider.getRespawnsCtrl().stop()
     if self.__respawnView is not None:
         self.__respawnView.destroy()
         self.__respawnView = None
     super(RespawnViewPlugin, self).stop()