PilotView enforces its own rules: members only, fire-control readouts only on the member's own track; constructor and View setter internal

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-22 18:26:07 +02:00
commit 488b3fa434
5 changed files with 59 additions and 22 deletions

View file

@ -441,7 +441,7 @@ public sealed class FireControlPerWeaponTests : IDisposable
var planarY = expected.y;
expected.y = r.Target.RideHeight(expected.xz);
Assert.NotEqual(planarY, expected.y);
Assert.Equal(expected, view.Intercept(r.Shooter, weapon, contact));
Assert.Equal(expected, view.Intercept(r.Shooter, weapon, contact).Value);
}
// A view answers fire control only for a member that tracks the contact: the shooter outside the view, or having lost