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

Different structs for "items" and "dungeon features" - for now, both are Object #42

Open
VedVid opened this issue Nov 14, 2018 · 2 comments
Labels

Comments

@VedVid
Copy link
Owner

VedVid commented Nov 14, 2018

Maybe could I make dungeon features as tiles?

@VedVid
Copy link
Owner Author

VedVid commented Nov 15, 2018

"items" are Objects that are "pickable" (always) and "equippable" sometimes.

@VedVid
Copy link
Owner Author

VedVid commented Dec 18, 2018

This comment was posted in #53 already, but I think it's relevant here as well.

Add an iota for slots.
SlotNA = iota
SlotWeapon
SlotHead
(...)

Keep objects unified. So, dungeon features like barrels and items like cake or sword are Objects.

But test booleans with slots. Like, if it's not equippable, it has to slot set to SlotNA.

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

No branches or pull requests

1 participant