- Reward system in Story mode (currently, either credits or random set) - Rules now accept for player 2 to start (see story mode "block" stage) - Story mode now has an autosave/autoload mechanism. This is for convenience but also to prevent people from abusing the reward mechanism too easily. - possibility to choose an avatar for both players through the rules (see example in story mode)
22 lines
445 B
C++
22 lines
445 B
C++
#ifndef _PLAYER_DATA_H_
|
|
#define _PLAYER_DATA_H_
|
|
|
|
#include "../include/MTGDeck.h"
|
|
#include "../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
|