def _dispose(self): g_customizationController.updateTank3DModel(isReset=True) g_customizationController.carousel.updated -= self.__setCarouselData g_customizationController.carousel.slots.updated -= self.as_updateSlotS g_customizationController.carousel.slots.cart.totalPriceUpdated -= self.__setBuyingPanelData g_customizationController.carousel.slots.cart.emptied -= self.as_hideBuyingPanelS g_customizationController.carousel.slots.cart.filled -= self.as_showBuyingPanelS g_customizationController.carousel.slots.bonusPanel.bonusesUpdated -= self.__setBonusData g_customizationController.fini() super(MainView, self)._dispose()
def _dispose(self): g_customizationController.updateTank3DModel(isReset=True) g_customizationController.carousel.updated -= self.__setCarouselData g_customizationController.carousel.slots.updated -= self.as_updateSlotS g_customizationController.carousel.slots.cart.totalPriceUpdated -= self.__setBottomPanelData g_customizationController.carousel.slots.cart.availableMoneyUpdated -= self.__setBottomPanelData g_customizationController.carousel.slots.cart.emptied -= self.as_hideBuyingPanelS g_customizationController.carousel.slots.cart.filled -= self.as_showBuyingPanelS g_customizationController.carousel.slots.bonusPanel.bonusesUpdated -= self.__setBonusData g_currentVehicle.onChanged -= self.__setHeaderInitData g_customizationController.carousel.slots.cart.purchaseProcessed -= self.__onPurchaseProcessed Cart.purchaseProcessStarted -= self.__onPurchaseProcessStarted g_customizationController.fini() super(MainView, self)._dispose()
def backToSelectorGroup(self): self.as_setBottomPanelHeaderS(g_customizationController.carousel.slots.getSummaryString()) self.as_showSelectorGroupS() g_customizationController.updateTank3DModel() self.__carouselHidden = True
def backToSelectorGroup(self): self.__carouselHidden = True self.__setBottomPanelData() self.as_showSelectorGroupS() g_customizationController.updateTank3DModel()