public void shoot() { float mc = wand.getSpellCost(); if (mana >= mc) { wand.shoot(); setMana(false, mc); } }