Command seam, player: the reticle verb's pin answers a target no other verb would
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6f4dbff317
commit
bee079b1c8
1 changed files with 6 additions and 3 deletions
|
|
@ -79,13 +79,16 @@ public sealed partial class RunStartTests
|
|||
arena.Update(SeamDt);
|
||||
Assert.Same(third, east.Target.Value.Entity);
|
||||
|
||||
// The reticle picks along the aim; picking the held target again would clear it.
|
||||
// The reticle picks along the aim, and picking the held target again clears it (no other verb answers None here).
|
||||
east.Command.Verb(TargetVerb.Previous);
|
||||
arena.Update(SeamDt);
|
||||
Assert.Same(west, east.Target.Value.Entity);
|
||||
east.Command.Aim = float3(-1, 0, 0);
|
||||
east.Command.Verb(TargetVerb.UnderReticle);
|
||||
arena.Update(SeamDt);
|
||||
Assert.Same(west, east.Target.Value.Entity);
|
||||
Assert.True(east.Target.Value.IsNone);
|
||||
arena.Update(SeamDt);
|
||||
Assert.Same(west, east.Target.Value.Entity);
|
||||
Assert.True(east.Target.Value.IsNone, "the reticle press is not replayed");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Reference in a new issue