blob: eb805e07b66ac49610bf285ccc1e3c2b01efd6ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "ArmorObject.h"
void ArmorObject::set_protection(int protection) {
this->protection = protection;
}
int ArmorObject::get_protection() const {
return this->protection;
}
const String & ArmorObject::get_displayname() const {
static String display = String::fmt("%s (%d bescherming)", this->get_name().c_str(), this->protection);
return display;
}
|