public void shadowAttack(Attack atk) { shadow.doAttack(atk.animationName); hasShadow = true; updateChargesUI(); }