initial commit
[COMP345---Clone.git] / Shield.h
blobf9c22da5ab5f88cd4555efe44662ef220b99e4f5
1 //!@file Shield.h
2 //! @brief Declaration of shield equipment
3 //!
4 //! This class represents shield that is equipped or carried by a character
5 //! It makes accessible all stats that shields have in D20 ruleset
6 #pragma once
7 #include "Equipment.h"
9 //! This class represents a shield that is equipped or carried by a character
10 class Shield :
11 public Equipment
13 public:
14 Shield();
15 Shield(int s_ac, int s_level);
16 Shield(int s_level);
17 ~Shield();
18 int getArmorClass() { return ac; };
19 void setArmorClass(int armorClass) { ac = armorClass; };
20 bool validateEquipment();
21 void levelUpEquipment(int h_level);