def display_masses(corde, screen, pygame):
    """
    affichage de la corde à l'aide du module pyagame
    """
    y = screen.get_size()[1]
    color = 0, 0, 0
    for p in corde.list:
        pygame.draw.circle(screen, color, (int(p.x), int(y - p.y)), int(p.m +
            1))
    for i in range(0, len(corde.list) - 1):
        pygame.draw.line(screen, color, (int(corde.list[i].x), int(y -
            corde.list[i].y)), (int(corde.list[i + 1].x), int(y - corde.
            list[i + 1].y)))
