Style formatting - no code changes here.
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class CardPrimitive {
|
class CardPrimitive
|
||||||
|
{
|
||||||
protected:
|
protected:
|
||||||
vector<string> ftdText;
|
vector<string> ftdText;
|
||||||
string lcname;
|
string lcname;
|
||||||
|
|||||||
@@ -82,10 +82,12 @@ bool CardPrimitive::isCreature()
|
|||||||
{
|
{
|
||||||
return hasSubtype(Subtypes::TYPE_CREATURE);
|
return hasSubtype(Subtypes::TYPE_CREATURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CardPrimitive::isLand()
|
bool CardPrimitive::isLand()
|
||||||
{
|
{
|
||||||
return hasSubtype(Subtypes::TYPE_LAND);
|
return hasSubtype(Subtypes::TYPE_LAND);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CardPrimitive::isSpell()
|
bool CardPrimitive::isSpell()
|
||||||
{
|
{
|
||||||
return (!isCreature() && !isLand());
|
return (!isCreature() && !isLand());
|
||||||
@@ -95,6 +97,7 @@ void CardPrimitive::setRestrictions(string _restriction)
|
|||||||
{
|
{
|
||||||
restriction = _restriction;
|
restriction = _restriction;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardPrimitive::getRestrictions()
|
void CardPrimitive::getRestrictions()
|
||||||
{
|
{
|
||||||
restriction;
|
restriction;
|
||||||
@@ -104,6 +107,7 @@ void CardPrimitive::setOtherRestrictions(string _restriction)
|
|||||||
{
|
{
|
||||||
otherrestriction = _restriction;
|
otherrestriction = _restriction;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardPrimitive::getOtherRestrictions()
|
void CardPrimitive::getOtherRestrictions()
|
||||||
{
|
{
|
||||||
otherrestriction;
|
otherrestriction;
|
||||||
|
|||||||
Reference in New Issue
Block a user