finishing up my reformatting of the source from November/December following the guidelines that were posted. some extra things I added: * Any empty virtual declarations were kept to one line. * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
19 lines
341 B
C++
19 lines
341 B
C++
#ifndef _MANACOST_HYBRID_H_
|
|
#define _MANACOST_HYBRID_H_
|
|
|
|
class ManaCostHybrid
|
|
{
|
|
public:
|
|
int color1;
|
|
int color2;
|
|
int value1;
|
|
int value2;
|
|
ManaCostHybrid();
|
|
int hasColor(int color);
|
|
ManaCostHybrid(int c1, int v1, int c2, int v2);
|
|
void init(int c1, int v1, int c2, int v2);
|
|
int getConvertedCost();
|
|
};
|
|
|
|
#endif
|