Exemplo n.º 1
0
    public void shoot()
    {
        float mc = wand.getSpellCost();

        if (mana >= mc)
        {
            wand.shoot();

            setMana(false, mc);
        }
    }