initial commit
[COMP345---Clone.git] / ItemContainer.h
blobb96842f6bb7a57fc93e664721089e8410391cf9d
1 #pragma once
2 #include "Item.h"
3 #include <vector>
4 class ItemContainer
6 public:
7 ItemContainer();
8 ItemContainer(vector<Item> items);
9 ~ItemContainer();
10 Item getItem(int index);
11 void removeItem(int index);
12 void removeItem(Item item);
13 void addItem(Item item);
14 vector<Item> getItems() { return itemList; }
15 private:
16 vector<Item> itemList;