Python 3/PyGame/Game_approaches/camera_in_a_room.py
def display(self):
        """ Draw the objects on the screen. """
        self.screen.fill(self.background)
        for name, thing in self.objects.items():
            if "surface_" in name:
                pygame.draw.polygon(self.screen, (255, 255, 255), [(node.x, node.y) for node in thing.nodes])
            else:
                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)
 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 name, thing in self.objects.items():
            if "surface_" in name:
                pygame.draw.polygon(self.screen, (255, 255, 255), [(node.x, node.y) for node in thing.nodes])
            else:
                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)
def display ( self ) : self . screen . fill ( self . background ) for name , thing in self . objects . items ( ) : if "surface_" in name : pygame . draw . polygon ( self . screen , ( 255 , 255 , 255 ) , [ ( node . x , node . y ) for node in thing . nodes ] ) else : 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 )
Draw the objects on the screen.
Draw the objects on the screen .
""" Draw the objects on the screen. """
self