示例#1
0
    public bool CanApplyEffects(CardEffectsSet cardEffectsSet)
    {
        List <CardEffect> get  = cardEffectsSet.GetReward();
        List <CardEffect> cost = cardEffectsSet.GetCost();

        return(CanApplyEffects(get, cost));
    }
示例#2
0
    // Return true iff inventory has enough free space to handle the given cardEffectsSet from a card.
    public bool HasSpaceForItems(CardEffectsSet cardEffectsSet)
    {
        List <CardEffect> get  = cardEffectsSet.GetReward();
        List <CardEffect> cost = cardEffectsSet.GetCost();

        return(HasSpaceForItems(get, cost));
    }