def retire(self): self.retireButton.setEnabled(False) Car.retire(self._retireDone, self.__id)
def forcePitstop(self): self.pitstopButton.setEnabled(False) Car.forcePitstop(self._forcePitstopDone, self.__id)