def stop(self): g_sessionProvider.getRespawnsCtrl().stop() if self.__respawnView is not None: self.__respawnView.destroy() self.__respawnView = None super(RespawnViewPlugin, self).stop() return
def __onLoad(self, _): self.__respawnView = _BattleRespawnView(self._parentObj) g_sessionProvider.getRespawnsCtrl().start(self.__respawnView, self._parentObj)
def py_vehicleSelected(self, vehicleID): g_sessionProvider.getRespawnsCtrl().chooseVehicleForRespawn(vehicleID)
def stop(self): g_sessionProvider.getRespawnsCtrl().stop() if self.__respawnView is not None: self.__respawnView.destroy() self.__respawnView = None super(RespawnViewPlugin, self).stop()