Add utility AI (#806)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
16
Content.Server/AI/WorldState/States/SelfState.cs
Normal file
16
Content.Server/AI/WorldState/States/SelfState.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
|
||||
namespace Content.Server.AI.WorldState.States
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public sealed class SelfState : StateData<IEntity>
|
||||
{
|
||||
public override string Name => "Self";
|
||||
|
||||
public override IEntity GetValue()
|
||||
{
|
||||
return Owner;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user