kanpov/JustEnoughGems

Extract tier rendering in tooltips into a base class

Closed this issue · 0 comments

Issue

With the current system, you have to duplicate the code for saving the tier in constructor and rendering it in the tooltip.

Proposal

Create a base class that accepts the tier as a primary constructor argument and automatically renders it in appendTooltip.