initial commit
[COMP345---Clone.git] / Belt.h
blobc6195ccfebf719369095e7550a6d706125aaab42
1 //!@file Belt.h
2 //! @brief Declaration of belt equipment
3 //!
4 //! This class represents belt that is equipped or carried by a character
5 //! It makes accessible all stats that the belt has in D20 ruleset
6 #pragma once
7 #include "Equipment.h"
8 //! This class represents belt that is equipped or carried by a character
9 class Belt :
10 public Equipment
12 public:
13 Belt();
14 Belt(int b_str, int b_con, int b_level);
15 Belt(int b_level);
16 ~Belt();
17 int getConstitution() { return constitution; };
18 void setConstitution(int r_con) { constitution = r_con; };
19 void setStrength(int r_str) { str = r_str; };
20 int getStrength() { return str; };
21 bool validateEquipment();
22 void levelUpEquipment(int b_level);