main.py
def populate_bricks(self, image='images/brick.png'):
        """
        This function sets up the bricks for the current level of the game
        """
        # create bricks at each coordinate from layout for current level and add to brick_list
        for loc in layouts.brick_layouts[self.level]:
            brick = arcade.Sprite(filename=image, 
                                  center_x=loc[0],
                                  center_y=loc[1],
                                  scale=1,
                                  hit_box_algorithm='Simple'
            )
            self.brick_list.append(brick)

        This function sets up the bricks for the current level of the game
        
This function sets up the bricks for the current level of the game
This function sets up the bricks for the current level of the game
def populate_bricks(self, image='images/brick.png'):
        for loc in layouts.brick_layouts[self.level]:
            brick = arcade.Sprite(filename=image, 
                                  center_x=loc[0],
                                  center_y=loc[1],
                                  scale=1,
                                  hit_box_algorithm='Simple'
            )
            self.brick_list.append(brick)
def populate_bricks ( self , image = 'images/brick.png' ) : for loc in layouts . brick_layouts [ self . level ] : brick = arcade . Sprite ( filename = image , center_x = loc [ 0 ] , center_y = loc [ 1 ] , scale = 1 , hit_box_algorithm = 'Simple' ) self . brick_list . append ( brick )
This function sets up the bricks for the current level of the game
This function sets up the bricks for the current level of the game
"""
        This function sets up the bricks for the current level of the game
        """ # create bricks at each coordinate from layout for current level and add to brick_list
self
image