-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPendulumCard.hpp
33 lines (23 loc) · 929 Bytes
/
PendulumCard.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
/**
* Solution to homework assignment 3
* Object Oriented Programming Course
* Faculty of Mathematics and Informatics of Sofia University
* Summer semester 2020/2021 *
* @author <Kaloyan Vachkov>
* @idnumber <62645>
* @task <4>
* @compiler <GCC> */
#ifndef PendulumCard_hpp
#define PendulumCard_hpp
#include "MagicCard.hpp"
#include "MonsterCard.hpp"
#include <string>
class PendulumCard : public MagicCard, public MonsterCard{
unsigned int pendulum_scale;
public:
PendulumCard(const std::string& name = "",const std::string& effect = "",const unsigned int& rarity = 0, const unsigned int& att_poi = 0, const unsigned int& def_poi = 0,const unsigned int& scale = 1, const MagicType a = trap);
void set_scale_points(const unsigned int& pt);
void set_rarity_score(const unsigned int& points) override;
unsigned int get_scale_points() const;
};
#endif /* PendulumCard_hpp */