Hello, i am making a small project with a group of people, we taught of storing the Spells (each one is different but all inherit from Spells) in a map
std::map<std::string, Spell*> spells; <
i store a Flare() in "Flare", but is there a way that when i get it back, to store it in a Flare again? it outputs as a Spell, but with all of Flare's properties