#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; }