Terraria.Player.KeyDoubleTap C# (CSharp) Method

KeyDoubleTap() public method

public KeyDoubleTap ( int keyDir ) : void
keyDir int
return void
        public void KeyDoubleTap(int keyDir)
        {
            if (keyDir != 0)
                return;
            if (this.setVortex && !this.mount.Active)
                this.vortexStealthActive = !this.vortexStealthActive;
            if (!this.setStardust)
                return;
            this.MinionTargetAim();
        }
Player