war and murder

This commit is contained in:
2023-09-02 11:25:49 -07:00
parent 3b8e6b34c9
commit 7f7595b06d
8 changed files with 130 additions and 18 deletions

View File

@@ -66,4 +66,9 @@ public partial class TestCharacter : CharacterBody3D
await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout");
CanShoot = true;
}
private void OnHit(Node3D node)
{
QueueFree();
}
}