def execute(self, scene): self.snd_click.play() SoundManager.set_master(self.option / 10)
def cancel(cls, scene): button = cls.instances[scene] button.option = int(button.original * 10) SoundManager.set_master(button.original)