aboutsummaryrefslogtreecommitdiff
path: root/backend/Object.cpp
blob: 398f970e6711acfd70c80285ea37d6ec90c9e1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "Object.h"

Object::Object(const String & name, const String & description) : name(name), description(description) { }

void Object::set_name(const String & name) {
	this->name = name;
}
const String & Object::get_name() const {
	return this->name;
}
String Object::get_displayname() const {
	return this->name;
}

void Object::set_description(const String & description) {
	this->description = description;
}
const String & Object::get_description() const {
	return this->description;
}