def _play_music(self, id):
		if id != None:
			pygame.mixer.music.set_volume(MAGIC_POTATO.get_music_volume())
			if self.current_song != id:
				self.current_song = id
				songs = []
				for t in id.split(','):
					songs.append(t.strip())
				song = random.choice(songs)
				pygame.mixer.music.load('music' + os.sep + song + '.ogg')
				pygame.mixer.music.play(-1)
	def do_sound(self, id):
		width_over_two = GAME_WIDTH // 2
		mx, my = self.cursor
		if id == 'sfx_volume':
			if mx < (width_over_two - 20) and self.mouse == 0: pass
			else:
				MAGIC_POTATO.set_sound_volume((mx - width_over_two) // 2)
				self.sfx_vol = MAGIC_POTATO.get_sound_volume()
		elif id == 'music_volume':
			if mx < (width_over_two - 20) and self.mouse == 0: pass
			else:
				MAGIC_POTATO.set_music_volume((mx - width_over_two) // 2)
				self.music_vol = MAGIC_POTATO.get_music_volume()
	def __init__(self, background_scene):
		self.next = None
		self.bg = background_scene
		self.buttons = {
			'full_screen': [0] * 4,
			'sfx_volume': [0] * 4,
			'music_volume': [0] * 4,
			'back': [0] * 4
		}
		if self.bg != None:
			self.buttons.update({'main_menu': [0] * 4})

		self.cursor = (0, 0)
		self.currently_over = None

		self.sfx_vol = MAGIC_POTATO.get_sound_volume()
		self.music_vol = MAGIC_POTATO.get_music_volume()
		
		self.mouse = 0
		self.over = None
	def ensure_music_volume(self):
		potato_volume = MAGIC_POTATO.get_music_volume() / 100.0
		mixer_volume = pygame.mixer.music.get_volume()
		if abs(potato_volume - mixer_volume) > .001:
			pygame.mixer.music.set_volume(potato_volume)