blob: e7b7ed3dde91184f3b687753d901ed7e4d2055fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Object.h"
#include "Range.h"
class WeaponObject : public Object {
using Object::Object;
public:
void set_damage(const Range<int> & range);
Range<int> get_damage() const;
virtual String get_displayname() const;
private:
int damage_min = 0;
int damage_max = 0;
};
|