#include "WeaponObject.h" void WeaponObject::set_damage_min(int damage_min) { this->damage_min = damage_min; } int WeaponObject::get_damage_min() const { return this->damage_min; } void WeaponObject::set_damage_max(int damage_max) { this->damage_max = damage_max; } int WeaponObject::get_damage_max() const { return this->damage_max; } const String & WeaponObject::get_displayname() const { static String display = String::fmt("%s (%d - %d schade)", this->get_name().c_str(), this->damage_min, this->damage_max); return display; }