I'm just getting my head around this OO stuff and i need a little help.
I'm creating an inventory system and just want to know if i'm on the right track.
So Far I have
World Object
Item Object Extends World Object
Do i create a bag / Inventory object to put these in or set a field to say the item is in my bag / Inventory?
Hope that makes sense.
I'm creating an inventory system and just want to know if i'm on the right track.
So Far I have
World Object
Item Object Extends World Object
Do i create a bag / Inventory object to put these in or set a field to say the item is in my bag / Inventory?
Hope that makes sense.