Esempio n. 1
0
    public bool CanPlayCardFromHand(Card card)
    {
        //the card must be controlled by this PlayerManagerand cost less than its available mana
        bool controlledByMe = (card.GetController() == this);
        bool castable       = mana.CanPayCost(card.GetCost());

        return(controlledByMe && castable);
    }