diff --git a/Items.h b/Items.h new file mode 100644 index 0000000..73b925c --- /dev/null +++ b/Items.h @@ -0,0 +1,51 @@ +#ifndef ITEMS_H +#define ITEMS_H +#include +#include + +using namespace std; + +class items { + +public: + string item_name; + string item_description; + string item_location; + string examine; + string open; + bool isUsable; + bool canTake; + bool isImportant; + + void printItem(); + + items(); + items(string item_name, string item_description, string item_location, bool isUsable, bool canTake, bool isImportant); + + + + +}; + +items::items() { + + printItem(); +} + +items::items(string item_name, string item_description, string item_location, bool isUsable, bool canTake, bool isImportant) { + this->item_name = item_name; + this->item_description = item_description; + this->item_location = item_location; + this->isUsable = isUsable; + this->canTake = canTake; + this->isImportant = isImportant; + +} + +void items::printItem() { + cout << "Item name: " << item_name << endl; + cout << "Item description: " << item_description << endl; + //cout << "Item isUsable: " << isUable << endl; +} + +#endif