mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 13:00:01 -08:00
Merge e540126056 into df74917cb0
This commit is contained in:
commit
a37a494ce7
12 changed files with 464 additions and 131 deletions
|
|
@ -316,6 +316,10 @@ void CardInfo::setColors(const QString &value)
|
|||
{
|
||||
setProperty(Mtg::Colors, value);
|
||||
}
|
||||
QString CardInfo::getColorIdentity() const
|
||||
{
|
||||
return getProperty(Mtg::ColorIdentity);
|
||||
}
|
||||
QString CardInfo::getLoyalty() const
|
||||
{
|
||||
return getProperty(Mtg::Loyalty);
|
||||
|
|
|
|||
|
|
@ -469,6 +469,7 @@ public:
|
|||
[[nodiscard]] QString getCmc() const;
|
||||
[[nodiscard]] QString getColors() const;
|
||||
void setColors(const QString &value);
|
||||
[[nodiscard]] QString getColorIdentity() const;
|
||||
[[nodiscard]] QString getLoyalty() const;
|
||||
[[nodiscard]] QString getMainCardType() const;
|
||||
[[nodiscard]] QString getManaCost() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue