Text adventure game - desgin
I have been working on a text adventure engine and I coudn't work it so I decided to scrap the whole thing and design a new one. All engines need a base class right?
......something like that? Well I obviously need functions etc. But I still need to design which functions to make.
Next thing that came to my mind was a game mode class. We obviously need to distiguish between game modes. I mean, you can't attack when looking in your inventory can you? Mayby a little something like this?
Then i thought that I need to manage the txt files that contain the storyline etc. How would I go about this?
/*Havn't decided what i need here*/
I recently read a thread containing a Menu class, should I also design a Menu class?
Thats what I need help with, just getting the framework (if you want to call it that) set up so i can design the rest of my engine.
All help is appreciated.