def update(self): AbstractScreen.update(self) time = pygame.time.get_ticks() if time >= self.fade_out and self.alive: self.alive = False for label in self.labels: label.goal_alpha = 0 elif time >= self.fade_out and self.labels[0].alpha == 0: return False for label in self.labels: label.update() return True
def update(self): AbstractScreen.update(self) return self.alive