P23-03: 生活の観察

This commit is contained in:
Agent Control Runner
2026-10-15 09:52:50 +09:00
parent baa4f2d563
commit 55c29f1192
5 changed files with 41 additions and 10 deletions
+2 -4
View File
@@ -86,10 +86,8 @@ func run(tree: SceneTree, directory: String, layout: String) -> bool:
if guest[&"current_cell"] != [GOAL.x, GOAL.y, GOAL.z] or finished.has(guest[&"guest_id"]): continue
finished[guest[&"guest_id"]] = offset
if offset % 30 == 0:
view.queue_redraw()
await tree.process_frame
await tree.process_frame
ok = stream.capture("frame-%03d" % offset, runtime, view) and ok
var drawn: bool = await stream.await_draws(tree, view)
ok = drawn and stream.capture("frame-%03d" % offset, runtime, view) and ok
ok = stream.record("first-arrivals", {&"offsets": finished}) and ok
ok = stream.record("final", runtime.create_snapshot()) and ok
stream.close()