maint: added Enemy class

This commit is contained in:
Chris
2025-10-04 01:15:33 -04:00
parent 3534f09da2
commit 81bb40c1d8
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using Reset.Core;
namespace Reset.Units{
public class Enemy : Unit, ILockOnTarget{
public float lockonTargetRadius{ get; set; } = 10f;
public void OnTargetDelete(){
GetComponent<ILockOnTarget>().SafelyDeleteTarget();
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: e0b96c1f85d6496c8366e1ad1e699358
timeCreated: 1759554366