csharp
public interface IWorldSensorHow the world reaches one blackboard key.
Remarks
doc 37 § D13's local world sensor. It is the seam a project replaces to say "how hungry am I", "how much ammo is left", "how far is the leash" — and it has two front ends onto it: UpdateBlackboardService runs it on a tree's schedule, and P6's GOAP runs the same object with no tree anywhere.
Local means per agent. The global form — one query per agent type per pass, for "is it night" — lands with GOAP, which is the phase that has a type to hang it on.
Methods (1)
void Sense(in AgentContext context, Blackboard blackboard, BlackboardKey key)Reads the world and writes what it found.
Used by (9)
- BehaviorTreeResolverVixen.Ai
- BuildStateVixen.Ai
- CountingSensorVixen.Ai.Tests
- ILocalWorldSensorVixen.Ai
- LocalVixen.Ai
- RecordingSensorVixen.Ai.Tests
- SeamTestsVixen.Ai.Nodes.Tests
- SensorSetVixen.Ai
- UpdateBlackboardServiceVixen.Ai