blob: 525b2f2d63f0546aa338ef36ac4f4f70af8b9b1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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;
}
|