|
|
vector<Item*> itemIndex;new all of the different items. |
|
|
|
new every time the user buys an object? But, I would need to somehow initialize it, because as I said, it is polymorphic, so it could be either: |
|
|
|
|
|
|
|
| The problem is that two bag slots point to the same object |
| Is that a pre-defined function or is there any more to it? |
|
|
pair<Item *, size_t>, (i.e. type, count) but then there are no "real" sword objects.