Files
wagic/projects/mtg/include/PlayerData.h
techdragon.nguyen@gmail.com e53c16f700 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)
2011-01-21 18:01:14 +00:00

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