aboutsummaryrefslogtreecommitdiff
path: root/backend/WeaponObject.h
blob: b54ab5986183d4d70ffaba2b87192e4ec73f3d06 (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 const String & get_displayname() const;

private:
	int damage_min = 0;
	int damage_max = 0;

};