2 //! @brief Declaration of helmet equipment
4 //! This class represents helmet that is equipped or carried by a character
5 //! It makes accessible all stats that helmethave in D20 ruleset
8 //! This class represents a helmet that is equipped or carried by a character
14 Helmet(int ac
, int dex
, int wis
, int h_level
);
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
);