def rect_list(self):
        """
        Returns a list with all rectangles placed into the surface.
        
        Returns:
            List: Format [(rid, x, y, width, height), ...]
        """
        rectangle_list = []
        for r in self:
            rectangle_list.append((r.x, r.y, r.width, r.height, r.rid))

        return rectangle_list
Returns a list with all rectangles placed into the surface.
        
        Returns:
            List: Format [(rid, x, y, width, height), ...]