work in progress, can be branched/merged

This commit is contained in:
2024-07-13 16:13:20 -04:00
parent ccf6dd0582
commit 5f3565fa86
8 changed files with 289 additions and 0 deletions

13
src/potions.cc Normal file
View File

@ -0,0 +1,13 @@
#include "potions.h"
void new_potion(std::unique_ptr<potion> &pp, potion_type type,
const position &pos) {
switch (type) {
case potion_type::restore_health:
pp = std::make_unique<class restore_health>(pos);
break;
default:
break;
}
}