View Single Post
Old May 26th, 2006, 11:00 AM   #6
free-zombie
Programmer
 
free-zombie's Avatar
 
Join Date: May 2006
Location: Bavaria, Germany
Posts: 50
Rep Power: 0 free-zombie is an unknown quantity at this point
Send a message via ICQ to free-zombie Send a message via MSN to free-zombie Send a message via Yahoo to free-zombie
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
free-zombie is offline   Reply With Quote