2020-06-18 22:52:44 +10:00
|
|
|
using JetBrains.Annotations;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Shared.GameObjects;
|
2020-06-18 22:52:44 +10:00
|
|
|
|
|
|
|
|
namespace Content.Server.AI.WorldState.States
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Could be target item to equip, target to attack, etc.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[UsedImplicitly]
|
2021-12-26 15:32:45 +13:00
|
|
|
public sealed class TargetEntityState : PlanningStateData<EntityUid?>
|
2020-06-18 22:52:44 +10:00
|
|
|
{
|
|
|
|
|
public override string Name => "TargetEntity";
|
|
|
|
|
|
|
|
|
|
public override void Reset()
|
|
|
|
|
{
|
2021-12-26 15:32:45 +13:00
|
|
|
Value = null;
|
2020-06-18 22:52:44 +10:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|