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