-
Notifications
You must be signed in to change notification settings - Fork 1
/
Player.h
46 lines (38 loc) · 1.03 KB
/
Player.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef PlayerH
#define PlayerH
#include "CardData.h"
#include "CardValues.h"
class TDraftPlayer
{
public:
TCardPile Picked;
//string DeckName;
static TArchetyper* Archetyper;
protected:
//double Signals[cColorCount];
//int PickedCount[cColorCount];
//double PickedQuality[cColorCount];
static int InstanceCount;
//static std::vector<TDraftArchetype*> Archetypes;
//static TCardValues DefaultValues;
//static void ReadArchetypes();
//static void FreeArchetypes();
FILE* log;
public:
bool Log;
TDraftPlayer(string aName, bool aLog);
virtual ~TDraftPlayer();
string Name;
virtual void Pick(TCardPile& Booster) = 0;
virtual const TCardPile& GetDeck() const { return Picked; }
//virtual void SaveInApprentice(string Filename, bool MaglibFmt);
static void UnitTest(const TCardData* c, TCardPile& Picked);
};
TDraftPlayer* CreatePlayer(string Name, string Type, bool Log);
// "ñåðâåð" äðàôòà - ëîêàëüíûé èëè óäàëåííûé.
class TDraft
{
public:
TDraft();
};
#endif