Style formatting - no code changes here.

This commit is contained in:
wrenczes@gmail.com
2011-04-20 09:38:40 +00:00
parent 6fb5766a5e
commit 02fbecfb85
2 changed files with 73 additions and 68 deletions
+4 -3
View File
@@ -10,13 +10,14 @@
using namespace std;
class CardPrimitive {
protected:
class CardPrimitive
{
protected:
vector<string> ftdText;
string lcname;
ManaCost manaCost;
public:
public:
ManaCost reducedCost;
ManaCost increasedCost;
string text;
+4
View File
@@ -82,10 +82,12 @@ bool CardPrimitive::isCreature()
{
return hasSubtype(Subtypes::TYPE_CREATURE);
}
bool CardPrimitive::isLand()
{
return hasSubtype(Subtypes::TYPE_LAND);
}
bool CardPrimitive::isSpell()
{
return (!isCreature() && !isLand());
@@ -95,6 +97,7 @@ void CardPrimitive::setRestrictions(string _restriction)
{
restriction = _restriction;
}
void CardPrimitive::getRestrictions()
{
restriction;
@@ -104,6 +107,7 @@ void CardPrimitive::setOtherRestrictions(string _restriction)
{
otherrestriction = _restriction;
}
void CardPrimitive::getOtherRestrictions()
{
otherrestriction;