Files
MovementTests/interfaces/IHealthable.cs
Minimata 65538495c4
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 19s
Create tag and build when new code gets to main / Export (push) Successful in 9m59s
spawning
2026-01-17 23:18:06 +01:00

16 lines
348 B
C#

using System;
using Godot;
namespace Movementtests.interfaces;
public interface IHealthable
{
event Action<IHealthable, float> HealthChanged;
event Action<IHealthable> HealthDepleted;
[Export] RHealth RHealth { get; set; }
float CurrentHealth { get; set; }
void ReduceHealth(IDamageable source, float amount);
}