#pragma once #include "Object.h" class GoldObject : public Object { using Object::Object; public: void set_count(const int & count); int get_count() const; virtual String get_displayname() const; private: int count = 0; };