text: 
  
  import pygame as pg
  #from .. import sound
  from .. import tools
  '''esse é o menu de opções'''
  class Options(tools.States):
      def __init__(self, screen_rect):
          tools.States.__init__(self)
          self.screen_rect = screen_rect
          self.options = ['Controles', 'Volume', 'Voltar']
          self.next_list = ['CONTROLS', 'AUDIO', 'MENU']
          self.title, self.title_rect = self.make_text('Options', (75,75,75), (self.screen_rect.centerx, 75), 150)
          self.pre_render_options()
          self.from_bottom = 200
          self.spacer = 75
      
      def get_event(self, event, keys):
          if event.type == pg.QUIT:
              self.quit = True
          elif event.type == pg.KEYDOWN:
              if event.key in [pg.K_UP, pg.K_w]:
                  self.change_selected_option(-1)
              elif event.key in [pg.K_DOWN, pg.K_s]:
                  self.change_selected_option(1)
              elif event.key == pg.K_RETURN:
                  self.select_option(self.selected_index)
              elif event.key == self.controller_dict['back']:
                  #self.button_sound.sound.play()
                  self.done = True
                  self.next = 'MENU'
          self.mouse_menu_click(event)
  
      def update(self, now, keys):
          #pg.mouse.set_visible(True)
          self.mouse_hover_sound()
          self.change_selected_option()
  
      def render(self, screen):
          screen.fill(self.bg_color)
          screen.blit(self.title,self.title_rect)
          for i,opt in enumerate(self.rendered["des"]):
              opt[1].center = (self.screen_rect.centerx, self.from_bottom+i*self.spacer)
              if i == self.selected_index:
                  rend_img,rend_rect = self.rendered["sel"][i]
                  rend_rect.center = opt[1].center
                  screen.blit(rend_img,rend_rect)
              else:
                  screen.blit(opt[0],opt[1])
          
      def cleanup(self):
          pass
  
      def entry(self):
          pass
  