Command seam: the applier is the only writer from PilotCommand; the pilot reads back its own pending decisions (Soul finding only-reader-comment-false)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7427a70971
commit
9d9a8ed031
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ public readonly struct TurnCommand
|
|||
|
||||
// The one input an entity's pilot gives it (its agent, the player, a scripted pilot): only own-ship vectors and handles the
|
||||
// pilot was given (ruling observation-sensors-only). Commands are per entity, never per Flight or side: a side may be one
|
||||
// ship (ruling brain-one-per-side-r2). PilotApplier.Apply is its only reader.
|
||||
// ship (ruling brain-one-per-side-r2). PilotApplier.Apply is the only writer of the entity's fields from it; the pilot
|
||||
// also reads back its own pending decisions this step (Designated, Pulls), because the entity still holds last step's.
|
||||
// Held fields persist until the pilot replaces them, so a pilot deciding below the sim rate keeps flying (ruling
|
||||
// lower-game-sim-rate); null leaves the field to whoever wrote it last. One-shots apply once, in order, and are cleared.
|
||||
public sealed class PilotCommand
|
||||
|
|
|
|||
Loading…
Reference in a new issue