I'm still working on my text adventure game. I have a general idea for the design, well maybe more than just that, but I'm not sure how to put it all together.
Here's what I have:
Character class (has inventory, name, and location)
Inventory class (has list of Items, add/remove functionality)
Item class(es) (has name and bool isUseable)
Lamp, Door, Chest inherit from Item (has isOn, isLocked, and methods to change state)
Room class (has description of room, list of items)
that's what i have so far, i'm not sure how to put it all together... any suggestions? thanks a lot
[edit]changed item system[/edit]