-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
v0.8.21 droppable items #201
Conversation
// }) | ||
// } | ||
// }) | ||
// world.addEntity(tooltip) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leaving tooltip (key sprite on hover) for later changeset
}) | ||
}) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ClickableSystem
refactor — you have to hover before you can click
TODO this broke buttons
for (const componentType of query) { | ||
if (!keys(e.components).includes(componentType)) return false; | ||
if (e.components[componentType]?.active === false) return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added Component.active
property
items can be dropped and picked up