Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Inventory System #174

Open
dmccoystephenson opened this issue Aug 6, 2023 · 0 comments
Open

Improved Inventory System #174

dmccoystephenson opened this issue Aug 6, 2023 · 0 comments

Comments

@dmccoystephenson
Copy link
Member

dmccoystephenson commented Aug 6, 2023

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:

  • ItemSlot
  • ItemStack
  • Item

It should be possible for item stacks to exist in the world as drops, as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant