I am creating a text adventure game. I have a class called room with a list of rooms in it. I want to set descriptions for these rooms, what objects are in them and what exits there are to the other rooms but i dont know how to. Any suggestions. Thank you.
Angel
Code://Room.h #include <iostream> using std::ostream; using std::istream; class Room { private: string room1; string room2; string room3; string room4; string kitchen; string hall; string descriptionroom1; string descriptionroom2; string descriptionroom3; string descriptionroom4; string descriptionkitchen; string descriptionhall; public: }//class Room



LinkBack URL
About LinkBacks



