aboutsummaryrefslogtreecommitdiff
path: root/backend/GoldObject.cpp
blob: 00ee2055adf4e78c9707047e7c11cd2f954479e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
}