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

@ -25,7 +25,7 @@ public class Agent
public AgentTask Task { get; set; }
// What this pilot's side knows of other ships. A ship outside a flight is a side of one: a view over itself, until
// Flight.Join sets the flight's.
public PilotView View { get; set; }
public PilotView View { get; internal set; }
// Zone-scoped, from 1: the ordinal of this pilot's own dice, set by Zone.CreateAgent as it admits the pilot (0 for
// an agent built outside a zone's admission).
public uint Id { get; set; }