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

Ui #42

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Ui #42

wants to merge 8 commits into from

Conversation

KevinW90
Copy link
Collaborator

@KevinW90 KevinW90 commented Aug 23, 2020

resolves #38
resolves #41
resolves #35

Display Icon component created to separate from TouchIcon components when displaying icons for chests items.

Info section changed to be a component. It takes the properties needed to properly display information on enemies and chests, along with the proper action button for that entity.

Chest open flag implemented. When the chest is opened, it stays open on subsequent clicks of that icon.
-click the chest, click open, click an enemy, click the chest (still open and displaying items and 'take all')

Other Notes:
-Updated to put Salve Bug generation back to normal.
-player is now responsible for creating the player menu
-player-menu is now an _element of player
-player menu removed from UI.js in favor of future function for getting components
-svg names changed to match slot names
-breastplate -> torso
-helmet -> head
-enemy effects (that can be applied to player) displayed next to name

@KevinW90 KevinW90 added the enhancement New feature or request label Aug 23, 2020
@KevinW90 KevinW90 requested a review from heykc August 23, 2020 19:27
@KevinW90
Copy link
Collaborator Author

create a 'displayChestItems' util function and call it inside action-button and :96 for touch-icon

@heykc heykc removed their request for review April 20, 2021 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Info Section as a component New element needed for display icons create chest open flag
1 participant