public bool hasPlay() { bool hasPlay = false; if (!passedPriority) { foreach (BaseCard card in hand.cards) { if (card.details.isCardPlayable()) { hasPlay = true; } } if (!hasPlay && playerCharacter && isSideboardAllowedNow() && atleastOneSideboardLearnable()) { hasPlay = true; } } if (hasPlay) { if (playerCharacter) { TurnMaster.Instance().setContinueButton(true); } else { ai.nudgeAIForDecision(); } return(true); } else { return(false); } }