private bool cardIsPlayable(GameObject card) { if (card.GetComponent <CardEffect>().getManaCost() <= battleHandler.getCurrenMana()) { return(true); } else { return(false); } }