def draw(self): #pygame.draw.circle(self.surface, self.buttoncolor , self.button , 50, 3) if self.active: self.falta = self.totaltime - (time.time()-self.startingtime) if self.falta < 0: #cerramos .. self.active = False self.update_list(None) Render.drawT(self.surface) self.surface.fill(0) else: self.surface.fill(0) Render.drawT(self.surface) self.surface.fill(0)
def draw(self): pygame.draw.circle(self.surface, self.buttoncolor , self.button , 50, 3) Render.drawT(self.surface)