aboutsummaryrefslogtreecommitdiff
path: root/backend/ConsumableObject.cpp
blob: 7a02a3c05670fbf5458231c459592d599347612f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "ConsumableObject.h"

void ConsumableObject::set_potency(const Range<int> & range) {
	this->potency_min = range.min;
	this->potency_max = range.max;
}

Range<int> ConsumableObject::get_potency() const {
	return { this->potency_min, this->potency_max };
}