Python 3/PyGame/Sombras/test_shadows.py
def display(self):
        """ Draw the objects on the screen. """
        self.screen.fill(self.background)
        for thing in self.objects.values():
            for edge in thing.edges:
                    pygame.draw.aaline(self.screen, thing.edge_color, (edge.start.x, edge.start.y), (edge.end.x, edge.end.y), 1)
            for node in thing.nodes:
                pygame.draw.circle(self.screen, thing.node_color, (int(node.x), int(node.y)), self.nodeRadius, 0)

            for node in thing.shadow.nodes:
                pygame.draw.circle(self.screen, thing.shadow.color, (int(node.x), int(node.y)), self.nodeRadius, 0)
 Draw the objects on the screen. 
Draw the objects on the screen.
Draw the objects on the screen .
def display(self):
        self.screen.fill(self.background)
        for thing in self.objects.values():
            for edge in thing.edges:
                    pygame.draw.aaline(self.screen, thing.edge_color, (edge.start.x, edge.start.y), (edge.end.x, edge.end.y), 1)
            for node in thing.nodes:
                pygame.draw.circle(self.screen, thing.node_color, (int(node.x), int(node.y)), self.nodeRadius, 0)
            for node in thing.shadow.nodes:
                pygame.draw.circle(self.screen, thing.shadow.color, (int(node.x), int(node.y)), self.nodeRadius, 0)
def display ( self ) : self . screen . fill ( self . background ) for thing in self . objects . values ( ) : for edge in thing . edges : pygame . draw . aaline ( self . screen , thing . edge_color , ( edge . start . x , edge . start . y ) , ( edge . end . x , edge . end . y ) , 1 ) for node in thing . nodes : pygame . draw . circle ( self . screen , thing . node_color , ( int ( node . x ) , int ( node . y ) ) , self . nodeRadius , 0 ) for node in thing . shadow . nodes : pygame . draw . circle ( self . screen , thing . shadow . color , ( int ( node . x ) , int ( node . y ) ) , self . nodeRadius , 0 )
Draw the objects on the screen.
Draw the objects on the screen .
""" Draw the objects on the screen. """
self