public HealthChangedEventArgs(Player player, int health_was, int health_now) { Player = player; HealthWas = health_was; HealthNow = health_now; }
public HealthMeter(RenderSet render_set, double x, double y, Player player) : base(render_set, x, y, Texture.Get("sprite_health_meter_atlas")) { _Player = player; player.HealthChanged += OnHealthChanged; }