fliXNA_xbox.FlxSound.createSound C# (CSharp) Method

createSound() protected method

protected createSound ( ) : void
return void
        protected void createSound()
        {
            destroy();
            x = 0;
            y = 0;
            playCount = 0;
            _sound = null;
            _position = 0;
            _volume = 1.0f;
            _volumeAdjust = 1.0f;
            _looped = false;
            _target = null;
            _source = null;
            _radius = 0;
            _pan = false;
            _fadeOutTimer = 0;
            _fadeOutTotal = 0;
            _pauseOnFadeOut = false;
            _fadeInTimer = 0;
            _fadeInTotal = 0;
            exists = true;
            active = true;
            visible = false;
            name = null;
            artist = null;
            amplitude = 0;
            amplitudeLeft = 0;
            amplitudeRight = 0;
            autoDestroy = false;
            _followTarget = false;
            proximitized = false;
        }