Relation checks added to relevant fields in card filter (#3080)

* comments and <=, >=, == support added
This commit is contained in:
Vafthrudnir 2018-02-06 11:05:30 +01:00 committed by Zach H
parent b58aa459a4
commit 4cbec71882
2 changed files with 37 additions and 3 deletions

View file

@ -214,6 +214,7 @@ public:
bool acceptToughness(const CardInfoPtr info) const;
bool acceptRarity(const CardInfoPtr info) const;
bool acceptCardAttr(const CardInfoPtr info, CardFilter::Attr attr) const;
bool relationCheck(int cardInfo) const;
};
class FilterTree : public QObject, public FilterTreeBranch<LogicMap *>