def __init__(self, ruta, nombre, x, y):
    super().__init__()
    self.__palabra = nombre
    self.__click = False
    self.image = pygame.image.load(ruta).convert_alpha()
    self.rect = self.image.get_rect()
    self.collide = False
    self.posX = x
    self.posY = y
def __init__(self, ruta, nombre, x, y):
    super().__init__()
    self.__palabra = nombre
    self.__click = False
    self.image = pygame.image.load(ruta).convert_alpha()
    self.rect = self.image.get_rect()
    self.collide = False
    self.posX = x
    self.posY = y