IHealthNews
namespace Griff.Scenes;
public interface IHealthNews : IGameServiceWhat an entity’s scripts hear of its Health (their OnDamage and OnDeath), told at once, whatever dealt the damage: Health reaches it through the services of the game playing its scene (Services).
Methods
Section titled “Methods”Damaged
Section titled “Damaged”public abstract void Damaged(Health health, float amount, Entity? source)The health’s entity took amount of damage from source.
public abstract void Died(Health health)The health’s entity died.