Considerations are now instantiated under a manager and re-used between entities where they pass in their blackboard to get a score back. Also makes the API a bit nicer to use. Also some random cleanup. Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
13 lines
300 B
C#
13 lines
300 B
C#
using System;
|
|
|
|
namespace Content.Server.AI.WorldState.States.Utility
|
|
{
|
|
public sealed class StoredStateIsNullState : PlanningStateData<Type>
|
|
{
|
|
public override string Name => "StoredStateIsNull";
|
|
public override void Reset()
|
|
{
|
|
Value = null;
|
|
}
|
|
}
|
|
} |