diff --git a/interfaces/IHealthable.cs b/interfaces/IHealthable.cs new file mode 100644 index 00000000..0f0fd3e7 --- /dev/null +++ b/interfaces/IHealthable.cs @@ -0,0 +1,7 @@ +namespace Movementtests.interfaces; + +public interface IKillable +{ + float CurrentHealth { get; set; } + void ReduceHealth(float amount); +} \ No newline at end of file diff --git a/interfaces/IKillable.cs.uid b/interfaces/IHealthable.cs.uid similarity index 100% rename from interfaces/IKillable.cs.uid rename to interfaces/IHealthable.cs.uid diff --git a/interfaces/IKillable.cs b/interfaces/IKillable.cs index 04ea6835..4cc1c8d5 100644 --- a/interfaces/IKillable.cs +++ b/interfaces/IKillable.cs @@ -1,6 +1,7 @@ namespace Movementtests.interfaces; -public interface IKillable +public interface IHealthable { - + float CurrentHealth { get; set; } + void ReduceHealth(float amount); } \ No newline at end of file