1 2 3 4 5 6 7 8 9 10
#pragma once #include "Object.h" class GoldObject : public Object { using Object::Object; private: int count = 0; };