ScriptedAgent constructor
- FakeWorld world, {
- required String agentId,
- required AgentScript script,
- bool anchors = false,
Creates the agent; it acts after attach. With anchors every run gets its live box
anchor (kind = run, 09 5.4) right after it is queued, as the server writes it in the
same transaction; tests of tickets before M4-21 run without.
Implementation
ScriptedAgent(
this.world, {
required this.agentId,
required this.script,
this.anchors = false,
});