ScrollingShooter.PlayerShip.unApplyBlades C# (CSharp) Method

unApplyBlades() private method

A helper function that will remove the Blade powerup and restore defaults.
private unApplyBlades ( ) : void
return void
        void unApplyBlades()
        {
            this.PowerupType = this.PowerupType ^= PowerupType.Blades;
            this.velocity /= 2;
            bladesPowerupTimer = 0;
            //TO DO: make player vulerable again, since not implemented yet.
        }