public bool CanApplyEffects(CardEffectsSet cardEffectsSet) { List <CardEffect> get = cardEffectsSet.GetReward(); List <CardEffect> cost = cardEffectsSet.GetCost(); return(CanApplyEffects(get, cost)); }
// 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)); }