crankycyclops/trogdor-pp

Being inventory should be implemented using std::weak_ptr

crankycyclops opened this issue · 2 comments

Right now, I keep a set of std::shared_ptrs. However, this makes things more difficult in the case where I want to later remove an owned object from the game. Using std::weak_ptr would solve this issue.

Done.