blob: 3e0a4e27138c82156d91bc68c66fcf35c08b7ec3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "ArmorObject.h"
void ArmorObject::set_protection(int protection) {
this->protection = protection;
}
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);
}
|