Add elemental VFX when hitting enemies (2D only currently)
This commit is contained in:
@@ -9,13 +9,13 @@ public interface IHealthComponent : IEntityComponent
|
||||
public IAutoProp<int> MaximumHP { get; }
|
||||
|
||||
public event Action? HealthReachedZero;
|
||||
public event Action? DamageTaken;
|
||||
public event Action<ElementType>? DamageTaken;
|
||||
|
||||
public bool AtFullHealth { get; }
|
||||
|
||||
public void Heal(int healAmount);
|
||||
|
||||
public void Damage(int damageAmount);
|
||||
public void Damage(int damageAmount, ElementType elementType);
|
||||
|
||||
public void SetCurrentHealth(int health);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user