#include "potions.h" void new_potion(std::unique_ptr &pp, potion_type type, const position &pos) { switch (type) { case potion_type::restore_health: pp = std::make_unique(pos); break; default: break; } }