#include "GoldObject.h" void GoldObject::set_count(const int & count) { this->count = count; } int GoldObject::get_count() const { return this->count; } String GoldObject::get_displayname() const { return String::fmt("%s (%d)", this->get_name().c_str(), this->count); }