From af76b9a0ae58dc8c87548053a5bc310ad6be25ce Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 21:33:27 +0100 Subject: more small tweaks --- backend/WeaponObject.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'backend/WeaponObject.h') diff --git a/backend/WeaponObject.h b/backend/WeaponObject.h index 032ac15..b54ab59 100644 --- a/backend/WeaponObject.h +++ b/backend/WeaponObject.h @@ -1,15 +1,14 @@ #pragma once #include "Object.h" +#include "Range.h" class WeaponObject : public Object { using Object::Object; public: - void set_damage_min(int damage_min); - int get_damage_min() const; - void set_damage_max(int damage_max); - int get_damage_max() const; + void set_damage(const Range & range); + Range get_damage() const; virtual const String & get_displayname() const; private: -- cgit v1.2.3