csharp
public interface IGlobalWorldSensorReads one number about the world for everybody, once a pass.
Remarks
doc 37 § D13's global world sensor — "is it night", "how bad is the storm", "what is the alert level". ⚠ The difference between this and the local form is one query against a thousand, and it is the whole reason the taxonomy has four members rather than two.
⚠ It is handed a World and not an AgentContext. A global sensor that took an agent would be one somebody could accidentally write per-agent logic in — and it would then read whichever agent happened to be first, once, for all of them.
Methods (1)
Used by (8)
- CountSensorVixen.Ai.Nodes
- DelegateGlobalWorldSensorVixen.Ai
- GlobalVixen.Ai
- SeamTestsVixen.Ai.Nodes.Tests
- SensorSetVixen.Ai
- SensorsVixen.Ai
- TimeOfDaySensorVixen.Ai
- WorldSensorsVixen.Ai.Nodes