def update(self, surface):
    'Controla los eventos y coliciones de los sprites Palabras'
    if ((not self.getClick()) and (not self.collide)):
        self.rect.center = (self.posX, self.posY)
    if self.getClick():
        self.rect.center = pygame.mouse.get_pos()
    if self.collide:
        x = self.image.get_rect().size[0]
        y = self.image.get_rect().size[1]
        self.colli(x, y)
        if (self.image.get_rect().size[0] <= 20):
            self.rect.center = (0, 0)
    surface.blit(self.getPalabraImagen(), self.getRect())
Controla los eventos y coliciones de los sprites Palabras
def update(self, surface):
    
    if ((not self.getClick()) and (not self.collide)):
        self.rect.center = (self.posX, self.posY)
    if self.getClick():
        self.rect.center = pygame.mouse.get_pos()
    if self.collide:
        x = self.image.get_rect().size[0]
        y = self.image.get_rect().size[1]
        self.colli(x, y)
        if (self.image.get_rect().size[0] <= 20):
            self.rect.center = (0, 0)
    surface.blit(self.getPalabraImagen(), self.getRect())