aboutsummaryrefslogtreecommitdiff
path: root/backend/WeaponObject.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 21:33:27 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 21:33:27 +0100
commitaf76b9a0ae58dc8c87548053a5bc310ad6be25ce (patch)
treeb2aa5927ed19855c101120593b59a9c3224804ad /backend/WeaponObject.h
parentbdf6ac149ec260dab767663419731b302679f458 (diff)
more small tweaks
Diffstat (limited to 'backend/WeaponObject.h')
-rw-r--r--backend/WeaponObject.h7
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: