From 0436053c62afd201ae6067fd44226ddac8e14b41 Mon Sep 17 00:00:00 2001 From: Minimata Date: Sat, 17 Jan 2026 17:02:16 +0100 Subject: [PATCH] broken composition and signals --- interfaces/IHealthable.cs | 7 +++++++ interfaces/{IKillable.cs.uid => IHealthable.cs.uid} | 0 interfaces/IKillable.cs | 5 +++-- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 interfaces/IHealthable.cs rename interfaces/{IKillable.cs.uid => IHealthable.cs.uid} (100%) 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