broken composition and signals
This commit is contained in:
7
interfaces/IHealthable.cs
Normal file
7
interfaces/IHealthable.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Movementtests.interfaces;
|
||||
|
||||
public interface IKillable
|
||||
{
|
||||
float CurrentHealth { get; set; }
|
||||
void ReduceHealth(float amount);
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Movementtests.interfaces;
|
||||
|
||||
public interface IKillable
|
||||
public interface IHealthable
|
||||
{
|
||||
|
||||
float CurrentHealth { get; set; }
|
||||
void ReduceHealth(float amount);
|
||||
}
|
||||
Reference in New Issue
Block a user