//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.
//Contains the declaration of the functions from the inventory class, which represents the items the player is carrying in the form of a dynamic array.
//Item accepts new items from the Monster class upon the player 'beating' the room, and allows the player to change which item they have equipped through the Player class.