initial commit
[COMP345---Clone.git] / Boots.h
blob06c8a3e59680cfc89c75e4a25c431353e2172690
1 //!@file Boots.h
2 //! @brief Declaration of boots equipment
3 //!
4 //! This class represents boots that is equipped or carried by a character
5 //! It makes accessible all stats that boots have in D20 ruleset
6 #pragma once
7 #include "Equipment.h"
8 //! This class represents boots that are equipped or carried by a character
9 class Boots :
10 public Equipment
12 public:
13 Boots();
14 Boots(int b_dex, int b_ac, int b_level);
15 Boots(int b_level);
16 ~Boots();
17 int getArmorClass() { return ac; };
18 void setArmorClass(int armorClass) { ac = armorClass; };
19 int getDexterity() { return dex; };
20 void setDexterity(int b_dex) { dex = b_dex; };
21 bool validateEquipment();
22 void levelUpEquipment(int b_level);