This commit is contained in:
18
projects/mtg/include/PlayerData.h
Normal file
18
projects/mtg/include/PlayerData.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _PLAYER_DATA_H_
|
||||
#define _PLAYER_DATA_H_
|
||||
|
||||
#define PLAYER_SAVEFILE "Res/player/data.dat"
|
||||
|
||||
#include "../include/MTGDeck.h"
|
||||
|
||||
class PlayerData{
|
||||
protected:
|
||||
public:
|
||||
int credits;
|
||||
MTGDeck * collection;
|
||||
PlayerData(MTGAllCards * allcards);
|
||||
~PlayerData();
|
||||
int save();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user