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