diff options
Diffstat (limited to 'backend/WeaponObject.h')
-rw-r--r-- | backend/WeaponObject.h | 7 |
1 files changed, 3 insertions, 4 deletions
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<int> & range); + Range<int> get_damage() const; virtual const String & get_displayname() const; private: |