initial commit
[COMP345---Clone.git] / Helmet.h
blob079be7f645066fdcfe755ffaa908219f6d5f8865
1 //!@file Helmet.h
2 //! @brief Declaration of helmet equipment
3 //!
4 //! This class represents helmet that is equipped or carried by a character
5 //! It makes accessible all stats that helmethave in D20 ruleset
6 #pragma once
7 #include "Equipment.h"
8 //! This class represents a helmet that is equipped or carried by a character
9 class Helmet :
10 public Equipment
12 public:
13 Helmet();
14 Helmet(int ac, int dex, int wis, int h_level);
15 Helmet(int h_level);
16 ~Helmet();
17 int getWisdom() { return wis; };
18 int getDexterity() { return dex; };
19 int getArmorClass() { return ac; };
20 void setWisdom(int h_wisdom) { wis = h_wisdom; };
21 void setDex(int h_dex) { dex = h_dex; };
22 void setArmorClass(int h_ac) { ac = h_ac; };
23 bool validateEquipment();
24 void levelUpEquipment(int h_level);