Exemplo n.º 1
0
    private void DoShot()
    {
        var result = shoot.Activate(currentOrientation, dash.IsBoosting());

        if (result)
        {
            velocity = Vector2.Zero;
            StopGravity(0.25f);
            Stun(0.25f);
        }
    }