No code change just reformatting of header files.
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)
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
class DeckManager
|
||||
{
|
||||
private:
|
||||
@@ -17,24 +16,22 @@ private:
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
|
||||
vector<DeckMetaData *> playerDeckOrderList;
|
||||
vector<DeckMetaData *> aiDeckOrderList;
|
||||
|
||||
void updateMetaDataList(vector<DeckMetaData *>* refList, bool isAI );
|
||||
void updateMetaDataList(vector<DeckMetaData *>* refList, bool isAI);
|
||||
vector<DeckMetaData *> * getPlayerDeckOrderList();
|
||||
vector<DeckMetaData *> * getAIDeckOrderList();
|
||||
|
||||
|
||||
static DeckManager * GetInstance();
|
||||
static void EndInstance();
|
||||
|
||||
//convenience method to get the difficulty rating between two decks. This should be refined a little more
|
||||
//since the eventual move of all deck meta data should be managed by this class
|
||||
|
||||
static int getDifficultyRating( Player *statsPlayer, Player *player );
|
||||
static int getDifficultyRating(Player *statsPlayer, Player *player);
|
||||
|
||||
|
||||
~DeckManager()
|
||||
{
|
||||
instanceFlag = false;
|
||||
|
||||
Reference in New Issue
Block a user