Dodgeball.Game.Player.dropBall C# (CSharp) Method

dropBall() public method

public dropBall ( ) : void
return void
        void dropBall()
        {
            if(ball != null) {
            flungAtCharge = DROP_CHARGE;
            ball.Fling(onRight ? 1f : -1f, 0.5f, DROP_CHARGE);
            //ball.dangerous = false;
            ball = null;
            canPickupBall = false;
            G.state.DoInSeconds(DROP_PICKUP_TIME, () => canPickupBall = true);
            maxSpeed = MAX_RUN_SPEED;
            retical.visible = false;
              }
        }