public sealed class PerceivedCountBindingA different shape: how many, and whether there are any at all.
Remarks
The second implementation the seam rule asks for, and it differs in shape rather than in numbers: it names no target at all. That is what a turret, an alarm, a patrol that speeds up when the area is busy, or a "you are outnumbered, fall back" branch actually reads — and each of those written against the triple would be a decorator comparing an entity key to nothing in particular. ⚠ It counts only what is currently perceived, not what is remembered. "Two of them are in the room" and "two of them were in the room at some point in the last five seconds" are different claims, and only the first is worth an alarm.
Fields and properties (1)
public SenseMask SensesWhich senses feed it.
Methods (2)
public PerceivedCountBinding(SenseMask senses, BlackboardKey alert, BlackboardKey? count = null)A different shape: how many, and whether there are any at all.
public void Write(PerceivedTargets perceived, Blackboard blackboard, Vector3 listener, float now)Writes a pass's results.
Used by (1)
- BindingTestsVixen.Ai.Perception.Tests