Skip to content

Conversation

@jwdeveloper
Copy link
Owner

.

}

public Gift(int id, String name, int diamondCost, String pictureLink) {
this.id = id;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Switch to this(id, name, diamondCost, new Picture(pictureLink))

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

this.picture = picture;
this.properties = new JsonObject();
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add constructor to pass properties into class.

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

@jwdeveloper jwdeveloper merged commit 3387986 into develop-1.4.0 Feb 25, 2024
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