def make_text_sprites(self, text_list):
        sprite_group = pg.sprite.Group()

        for i, text in enumerate(text_list):
            sprite = pg.sprite.Sprite()

            if i == 0:
                x = 195
                y = 10
                surface = self.title_font.render(text, True, c.NEAR_BLACK)
                rect = surface.get_rect(x=x, y=y)
            else:
                x = 100
                y = (i * 30) + 20
                surface = self.font.render(text, True, c.NEAR_BLACK)
                rect = surface.get_rect(x=x, y=y)
            sprite.image = surface
            sprite.rect = rect
            sprite_group.add(sprite)

        return sprite_group
Show how much gold the player earned.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/battlegui.py/InfoBox.make_text_sprites--crossover with--dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/battlegui.py/InfoBox.show_gold