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

Created Generic Item #3

Merged
merged 2 commits into from
Feb 25, 2023
Merged

Created Generic Item #3

merged 2 commits into from
Feb 25, 2023

Conversation

JeanAEckelberg
Copy link
Owner

Created the generic Item class, added value errors for illegal assignments

Created the generic Item class, added value errors for illegal assignments
Copy link
Collaborator

@ESatrom ESatrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, my only comment is I'm not sure if we should be fixing durability to 0-1. If someone doesn't understand it's a percent they may end up with odd behavior and not understand why.

Additionally, it could be worthwhile to make a comment as to what an Item is.

Changed durability to an int and removed bounds
@JeanAEckelberg JeanAEckelberg merged commit 5e7753d into master Feb 25, 2023
@JeanAEckelberg JeanAEckelberg deleted the GenericItem branch February 25, 2023 07:27
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

Successfully merging this pull request may close these issues.

3 participants