<commit_before>﻿package flixel.tweens.sound;

import flixel.system.FlxSound;
import flixel.tweens.FlxTween;

/**
 * Sound effect fader.
 */
class SfxFader extends FlxTween
{
	/**
	 * Constructor.
	 * @param	sfx			The Sfx object to alter.
	 * @param	complete	Optional completion callback.
	 * @param	type		Tween type.
	 */
	public function new(sfx:FlxSound, complete:CompleteCallback = null, type:Int = 0)
	{
		super(0, type, finishCallback);
		_complete = complete;
		_sfx = sfx;
	}
	
	override public function destroy():Void 
	{
		super.destroy();
		_sfx = null;
		_crossSfx = null;
		_complete = null;
	}

	/**<commit_msg>Fix missing import for SfxFader<commit_after>﻿package flixel.tweens.sound;

import flixel.system.FlxSound;
import flixel.tweens.FlxTween;
import flixel.tweens.util.Ease;

/**
 * Sound effect fader.
 */
class SfxFader extends FlxTween
{
	/**
	 * Constructor.
	 * @param	sfx			The Sfx object to alter.
	 * @param	complete	Optional completion callback.
	 * @param	type		Tween type.
	 */
	public function new(sfx:FlxSound, complete:CompleteCallback = null, type:Int = 0)
	{
		super(0, type, finishCallback);
		_complete = complete;
		_sfx = sfx;
	}
	
	override public function destroy():Void 
	{
		super.destroy();
		_sfx = null;
		_crossSfx = null;
		_complete = null;
	}

	/**
{'fraction_non_alphanumeric': 0.11864406779661017, 'fraction_numerical': 0.0030816640986132513, 'mean_word_length': 3.606382978723404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2739248', 'n_tokens_mistral': 508, 'n_tokens_neox': 473, 'n_words': 116}