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)
23 lines
441 B
C++
23 lines
441 B
C++
#ifndef _PLAYER_DATA_H_
|
|
#define _PLAYER_DATA_H_
|
|
|
|
#include "MTGDeck.h"
|
|
#include "Tasks.h"
|
|
|
|
class PlayerData
|
|
{
|
|
protected:
|
|
void init();
|
|
public:
|
|
int credits;
|
|
map<string, string> storySaves;
|
|
MTGDeck * collection;
|
|
TaskList * taskList;
|
|
PlayerData(); //This doesn't init the collection, do not use it to manipulate the player's collection
|
|
PlayerData(MTGAllCards * allcards);
|
|
~PlayerData();
|
|
int save();
|
|
};
|
|
|
|
#endif
|