diff --git a/Inventory.cpp b/Inventory.cpp index eb160e1466dd0bb88f880754a1944520f373c268..cd85ed05ba0a3e31a65309149c251484c9b559b0 100644 --- a/Inventory.cpp +++ b/Inventory.cpp @@ -1,5 +1,5 @@ //filename: Inventory.cpp -//Contains the implementation of the more complicated functions from the item class, which represents the items the player is carrying in the form of several dynamic arrays. +//Contains the implementation of the more complicated functions from the inventory class, which represents the items the player is carrying in the form of a dynamic array. #include //for output #include diff --git a/Inventory.h b/Inventory.h index 1c142389e44501e60953630cb6fb760045c55e48..ee1a2212ccaabe7775a231bb7a62143a66b1d781 100644 --- a/Inventory.h +++ b/Inventory.h @@ -18,7 +18,7 @@ class Inventory{ int equipped; // holds the index of the item currently equipped public: - //Constructs a new Item class. + //Constructs a new Inventory class. Inventory(); //Accepts a string and three ints from the Monster class, and adds it into the 'array' of inventory.