-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBattler.h
44 lines (35 loc) · 942 Bytes
/
Battler.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
// #pragma once
// enum class CardAttributeType {CAT_INT, CAT_STRING, CAT_BOOL};
// enum class Visibility {HIDDEN, PRIVATE, VISIBLE};
// class Attribute {
// public:
// std::string name;
// int _int;
// bool _bool;
// std::string _string;
// CardAttributeType t;
// Attribute(std::string name, CardAttributeType t): name{name}, t{t} {}
// };
// class CardClass {
// public:
// std::string name;
// int parentIndex{-1};
// std::vector<Attribute> attributes;
// CardClass(std::string name, std::vector<Attribute> attributes): name{name}, attributes{attributes} {}
// };
// class Card {
// public:
// CardClass cardClass;
// };
// class CardStack {
// public:
// std::vector<Card> cards;
// std::string name;
// CardStack(std::string name): name{name} {}
// };
// class BattlerGame {
// public:
// std::string name;
// std::vector<CardClass> cardClasses;
// std::vector<CardStack> stacks;
// };