|
for an inventory, I'd probably make a simple class "Item" (maybe subclass it for special items - or just store the type inside if it's simple) and make the inventory a std::list<Item>
that would allow you to edit the inventory with well-documented STL methods
|