This commit is contained in:
a25liang
2024-07-12 16:41:42 -04:00
parent e7865b0c57
commit 50f058e7ea
57 changed files with 853 additions and 871 deletions

View File

@ -1,12 +1,12 @@
#include "potion.h"
potion::potion(const potion_type type, const int duration):
type{type}, remaining_duration{duration} {}
type{type}, remaining_duration{duration} {}
potion_type potion::get_type() const {
return type;
return type;
}
int potion::get_duration() const {
return remaining_duration;
return remaining_duration;
}