Report as inappropriate.
I looked at my old Stat Bar Demo and wanted to update it a little and optimize the performance.
The goal is to create a completely customizable health bar or stat bar. The customization should be done only through subclassing. So please tell me if I should add any constructors or methods to the super class.
Showed here is a HealthBar subclass created with this constructor:
public HealthBar(int max, int current)
super(new Color(0, 255, 0), 140, 24, Style.ROUND, max, current);
A few methods: