#pragma once #include "Object.h" class ArmorObject : public Object { using Object::Object; public: void set_protection(int protection); int get_protection() const; virtual const String & get_displayname() const; private: int protection = 0; };