-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeckBuilder.hpp
67 lines (55 loc) · 1.41 KB
/
DeckBuilder.hpp
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef _DECKBUILDER_HPP_
#define _DECKBUILDER_HPP_
#include <list>
#include <ctime>
#include <vector>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <functional>
#include "Card.hpp"
#include "Item.hpp"
#include "Holding.hpp"
#include "Follower.hpp"
#include "Personality.hpp"
#define DECKSIZE 40
#define MAXDECKSIZE 60
#define NO_PERSONALITIES 25
#define NO_DEFENSIVE 10
#define NO_ATTACKING 10
#define NO_SHOGUN 2
#define NO_CHANCELLOR 2
#define NO_CHAMPION 1
#define NO_HOLDINGS 17
#define NO_PLAIN 3
#define NO_MINE 3
#define NO_GOLD_MINE 3
#define NO_CRYSTAL_MINE 3
#define NO_FARMS 3
#define NO_SOLO 2
#define NO_FOLLOWERS 28
#define NO_FOOTSOLDIER 6
#define NO_ARCHER 6
#define NO_SIEGER 4
#define NO_CAVALRY 5
#define NO_NAVAL 5
#define NO_BUSHIDO 2
#define NO_ITEMS 12
#define NO_KATANA 4
#define NO_SPEAR 3
#define NO_BOW 2
#define NO_NINJATO 2
#define NO_WAKIZASHI 1
class DeckBuilder {
private:
std::list<GreenCard*>* green;
std::list<BlackCard*>* black;
public:
DeckBuilder();
~DeckBuilder();
std::list<GreenCard *>* createFateDeck();
std::list<BlackCard *>* createDynastyDeck();
void deckShuffler(std::list<BlackCard *> *black);
void deckShuffler(std::list<GreenCard *> *green);
};
#endif