-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeckBuilder.hpp
90 lines (79 loc) · 2 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#ifndef _DECKBUILDER_HPP_
#define _DECKBUILDER_HPP_
#include <list>
#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <ctime>
#include <cstdlib>
#include "Card.hpp"
#include "Personality.hpp"
#include "Holding.hpp"
#include "Follower.hpp"
#include "Item.hpp"
#include "Archer.hpp"
#include "Atakebune.hpp"
#include "Attacker.hpp"
#include "Bow.hpp"
#include "Bushido.hpp"
#include "Cavalry.hpp"
#include "Champion.hpp"
#include "Chancellor.hpp"
#include "CrystalMine.hpp"
#include "Defender.hpp"
#include "Farmland.hpp"
#include "Footsoldier.hpp"
#include "GiftsandFavour.hpp"
#include "GoldMine.hpp"
#include "Mine.hpp"
#include "Katana.hpp"
#include "Ninjato.hpp"
#include "Plain.hpp"
#include "Shogun.hpp"
#include "Sieger.hpp"
#include "Spear.hpp"
#include "Stronghold.hpp"
#include "Wakizashi.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:
list<GreenCard*>* green;
list<BlackCard*>* black;
public:
DeckBuilder();
~DeckBuilder();
list<GreenCard *>* createFateDeck();
list<BlackCard *>* createDynastyDeck();
void deckShuffler(list<BlackCard *> *black);
void deckShuffler(list<GreenCard *> *green);
};
#endif