flamenaak / KingdomOfBad

0 stars 0 forks source link

Create healthbar component #37

Closed flamenaak closed 2 years ago

flamenaak commented 2 years ago

It should be a standalone component that can be dragged onto anything which has Combat core component. Maybe an interface/abstract class is in place (Extend IHasCombat with GetCurrentHealth() or make a new Interface perhaps). The component should handle rendering and update itself based on the health which is provided by the parent.