ok so this should be the way to go
This commit is contained in:
@@ -5,8 +5,8 @@ using Movementtests.interfaces;
|
||||
[GlobalClass]
|
||||
public partial class RDeathEffect : Resource, IKillable
|
||||
{
|
||||
public void Kill()
|
||||
public void Kill(IHealthable source)
|
||||
{
|
||||
GD.Print("Death Effect triggered");
|
||||
GD.Print($"Death Effect triggered on {source}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user