made weapon into a dependant and used new forgeneitty node as a node3d

This commit is contained in:
2026-05-02 16:13:23 +02:00
parent 0e6211943d
commit 852f265b9f
8 changed files with 108 additions and 69 deletions

View File

@@ -126,7 +126,6 @@ public partial class Enemy : CharacterBody3D,
#endregion
// Private stuff
[Node("DamageBox")] public required Area3D DamageBox { get; set;}
[Node("CTarget")] public required Node3D TargetComponent { get; set;}
[Node("CHealthBar")] public required CHealthbar HealthBarWrapper { get; set;}