Gives the user the opportunity to earn some credits for performing various tasks.
Known bugs removed, tested stability-wise, not so much game-wise.
Lots of to-dos and ideas still remaining, better balance between task difficulty and their rewards needed - please comment.
Usage:
Enter shop, open menu, select 'See available tasks'.
All tasks in the list are active, until they expire ('Days left'; day passes after each duel (won, lost or quited)).
You can finish any of the tasks and get bonus. For particular task, the bonus gets a bit smaller every day (until expiration).
19 lines
293 B
C++
19 lines
293 B
C++
#ifndef _PLAYER_DATA_H_
|
|
#define _PLAYER_DATA_H_
|
|
|
|
#include "../include/MTGDeck.h"
|
|
#include "../include/Tasks.h"
|
|
|
|
class PlayerData{
|
|
protected:
|
|
public:
|
|
int credits;
|
|
MTGDeck * collection;
|
|
TaskList * taskList;
|
|
PlayerData(MTGAllCards * allcards);
|
|
~PlayerData();
|
|
int save();
|
|
};
|
|
|
|
#endif
|