Skip to content
Yxuer edited this page Aug 22, 2019 · 1 revision

The Area class models the various areas that can be present in the game (for example: streets, closed rooms, bathrooms, etc.).

Its current interface is:

  • void examine(): prints the description of this area.
  • Item* getItem(const std::string& itemName): returns the item in this area with the given name.

Clone this wiki locally