The Inventory class should contain a list of item slots, which can contain an item stack, which can contain items.
This will involve formalizing a lot of concepts & creating the following classes:
It should be possible for item stacks to exist in the world as drops, as well.
The Inventory class should contain a list of item slots, which can contain an item stack, which can contain items.
This will involve formalizing a lot of concepts & creating the following classes:
It should be possible for item stacks to exist in the world as drops, as well.