#pragma once #include "item.h" #include "json.hpp" namespace item { class Armor : public Item { public: Armor(const nlohmann::json& data); int getACBonus(void) const; std::string getArmorType(void) const; int getStrRequirement(void) const; bool stealthDisadvantage(void) const; virtual nlohmann::json toJson(void) const; private: const int acBonus; const std::string armorType; const int strRequirement; const bool stealthDis; }; }