removed extraneous function. Not meant for last check in
This commit is contained in:
@@ -75,7 +75,6 @@ public:
|
|||||||
|
|
||||||
int addHybrid(int c1, int v1, int c2, int v2);
|
int addHybrid(int c1, int v1, int c2, int v2);
|
||||||
int tryToPayHybrids(ManaCostHybrid * _hybrids[], int _nbhybrids, int diff[]);
|
int tryToPayHybrids(ManaCostHybrid * _hybrids[], int _nbhybrids, int diff[]);
|
||||||
int tryToPayHybrids(vector<ManaCostHybrid *> hybridList, int diff[]);
|
|
||||||
void randomDiffHybrids(ManaCost * _cost, int diff[]);
|
void randomDiffHybrids(ManaCost * _cost, int diff[]);
|
||||||
int add(ManaCost * _cost);
|
int add(ManaCost * _cost);
|
||||||
int pay (ManaCost * _cost);
|
int pay (ManaCost * _cost);
|
||||||
|
|||||||
@@ -603,12 +603,6 @@ void ManaCost::randomDiffHybrids(ManaCost * _cost, int diff[])
|
|||||||
diff[h->color1 * 2 + 1] -= h->value1;
|
diff[h->color1 * 2 + 1] -= h->value1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int ManaCost::tryToPayHybrids(vector<ManaCostHybrid *> hybridList, int diff[])
|
|
||||||
{
|
|
||||||
if (hybridList.empty())
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
starting from the end of the array (diff)
|
starting from the end of the array (diff)
|
||||||
|
|||||||
Reference in New Issue
Block a user