1 2 3 4 5 6 7 8 9
#include "GoldObject.h" void GoldObject::set_count(const int & count) { this->count = count; } int GoldObject::get_count() const { return this->count; }